4.4.7-alpha.9 • Published 3 years ago
@mrbuilder/plugin-babel v4.4.7-alpha.9
This plugin provides babel support to mrbuilder. It allows for configuration via .babelrc or via normal mrbuilder configuration methods. It also provides support for babel to webpack via babel-loader
The default babel configuration:
Property | Type | Default | Description |
---|---|---|---|
hot | bool | false | Turns hot loading supoprt for hmr usually automatically |
test | regex | /.jsx?$/ | Webpack module test to transpile |
includes | arrayOf: string,regex | ./src,./public,./test | Webpack module includes option |
use | object | {use:{loader:'babel-loader}} | Allows for a different babel-loader |
<babel_plugin> | object | configure babel plugins | |
cacheDirectory | bool or string | true | use the cache directory to speed up builds. |
To use Babel 7 will need to set the babelVersion to 7 and include the mrbuilder-plugin-babel-7 plugin in your configuration, and you should exclude the mrbuilder-plugin-babel-6 while your at it
{
mrbuilder:{
"plugins": [
"mrbuilder-plugin-babel-7"
]
}
}
4.4.7-alpha.9
3 years ago
4.4.6
3 years ago
4.3.0-alpha.0
4 years ago
4.3.0
4 years ago
4.2.1
4 years ago
4.2.0
4 years ago
4.2.0-alpha.8
4 years ago
4.2.0-alpha.7
4 years ago
4.2.0-alpha.3
4 years ago
4.2.0-alpha.2
4 years ago
4.2.0-alpha.0
4 years ago
4.1.0
4 years ago
4.0.1
4 years ago
4.0.0
4 years ago
4.0.0-alpha.9
4 years ago
4.0.0-alpha.10
4 years ago
4.0.0-alpha.2
5 years ago
4.0.0-alpha.1
5 years ago
4.0.0-alpha.0
5 years ago