1.0.5 • Published 1 year ago
swc-plugin-core-fe-hmr v1.0.5
swc-plugin-core-fe-hmr
This swc plugin add module.hot.decline() in the program which has named import Module from core-fe
Setup
npm install --save-dev swc-plugin-core-fe-hmrupdate your .swcrc file like below:
{
"jsc": {
"experimental": {
"plugins": [["swc-plugin-core-fe-hmr", {}]]
}
}
}