1.0.0 • Published 8 years ago
json-output-webpack-plugin v1.0.0
json-output-webpack-plugin
// webpack.config.js
var JSONOutputPlugin = require('json-output-webpack-plugin');
module.exports = {
plugins: [
new JSONOutputPlugin([
{
path: 'custom-path/a/b/c/d.json',
obj: {
foo: 'bar'
}
},
{
path: 'custom-path/a/b/c/e.json',
obj: {
bar: 'baz'
}
}
])
]
};
1.0.0
8 years ago