1 year ago
#77481
Dresosr
Why can't create bundle.js file?
Why does main.js appear in the dist folder when I try to create a bundle.js file? I set the name of the bundle.js file, while it still remains minified, despite the fact that I wrote mode: 'development'
const path = require('path');
module.exports = {
mode: 'development',
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'bundle.js',
},
};
webpack
0 Answers
Your Answer