swc-plugin-core-fe-hmr

A swc plugin for turn off hot module reload of core-fe module


License
MIT
Install
npm install swc-plugin-core-fe-hmr@1.0.4

Documentation

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", {}]]
    }
  }
}