jointed
v1.9.0
Published
Make configurations chainable
Downloads
55
Readme
Jointed
Modify configurations like a boss
config = createChainable({
output: {
path: path.resolve(__dirname, "dist"),
filename: "bundle.js",
},
module: {
rules: []
}
})
config
.set('module.rules.js', {
test: /\.js$/,
use: [
{
loader: 'babel-loader',
options: {}
}
]
})
config
['module.rules']
.set('js.include', ['somesrc'])
.delete('js.exclude')