1.0.1 • Published 7 years ago
proto-webpack-plugin v1.0.1
npm install --save-dev proto-webpack-plugin
var ProtoWebpackPlugin = require('proto-webpack-plugin')
module.exports = {
plugins: [
new ProtoWebpackPlugin({
resolveDir: resolve('/src/statics/proto'),
outputFile: resolve('/src/statics/proto-bundle.js'),
matchNames: ['base', 'messages'] // optional
})
]
}