swc-plugin-core-fe-hmr
v1.0.5
Published
A swc plugin for turn off hot module reload of core-fe module
Downloads
81
Readme
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-hmr
update your .swcrc
file like below:
{
"jsc": {
"experimental": {
"plugins": [["swc-plugin-core-fe-hmr", {}]]
}
}
}