1.0.0 • Published 7 years ago
feat-flag-loader v1.0.0
feature flag loader module for webpack
install
npm i -D feat-flag-loader
PS: You need install babel's presets & plugins manually
how to use
rules: [
{
test: /\.jsx?$/,
use: [
{
loader: 'feat-flag-loader',
query: {
babelOptions: {
presets: ['react', 'es2015', 'stage-0'],
plugins: ['transform-decorators-legacy'],
},
rules,
},
},
],
}
]
1.0.0
7 years ago