Webpack has a problem.

1. After packaging the project with vue-cli, if you encounter the packaged project that needs to add new modules, do you want to repackage it? In that case, if the project is big enough, you can"t be exhausted.
how can 2.webpack be packaged in modules? Each module has its own js and css.

the above are the problems encountered at present. I would appreciate it if any of the great gods can help solve the doubts.


output:{
     path: path.join(__dirname, "src"),
     filename: "[name]-[hash].bundle.js"
},

output.filename

Menu