packages/generators/plugin-template/default/examples/simple/_webpack.config.js.tpl
const path = require('path');
const <%= name %> = require('../../src/index.js');
module.exports = {
entry: './src/index.js',
output: {
path: path.join(__dirname, 'example_dist'),
filename: '[name].chunk.js',
},
plugins: [
new <%= name %>()
]
};