babel-plugin-legion-hmr
v0.1.0
Published
Hmr plugin for legion.
Downloads
10
Maintainers
Readme
babel-plugin-legion-hmr
HMR babel plugin for legion.
Install
$ yarn install babel-plugin-legion-hmr --save-dev
Usage
.babelrc
{
"plugins": ["@kad/babel-plugin-legion-hmr"]
}
Configure it in .roadhogrc(configure file for roadhog) only in development mode, example
"env": {
"development": {
"extraBabelPlugins": [
"@kad/babel-plugin-legion-hmr"
]
}
}
Options
quiet
—— Don't output any log.disableModel
—— Disable model HMR.
License
MIT