How to create multi output files?
问题 I would like to bundle my chrome extension with Webpack. The source consists multiple entries and the content of the webpack.config.js looks as follows: const path = require("path"); module.exports = { entry: { actions: './src/actions/index.js', options: './src/options/index.js' }, output: { filename: '[name].js', path: path.resolve(__dirname, "dist") } }; And folder structure: The actions/index.js and options/index.js files are entries. My goal is, when the src get bundled then dist folder