Skip to content Skip to sidebar Skip to footer

Webpack Output Filename Config Not Working

when i run 'npx webpack --config webpack.config.js', it keeps generating 'main.js' in the dist folder even if i configured it to be 'bundle.js', and the console will show this: ass

Solution 1:

it turns out to be that I am not familiar with vscode, when I edited all of the config files, I did not save, so I guess the builder just took whatever the config was last time and run it.


Post a Comment for "Webpack Output Filename Config Not Working"