When building a project, the contents of the last entry point do not fall into the final assembly:
entry: { settings: "./table/static/table/js/script1.js", detail: "./table/static/table/js/script2.js" }, output: { path: __dirname + "/common/static/js", filename: "bundle.js" }, In the bundle.js code, the contents of script2.js . Why is that?
The file script2.js is in the dependency graph, which can be built on the webpack service http://webpack.imtqy.com/analyse/#modules
I correctly understand the principle of assembling a bundle - the contents of all entry points are combined in my case into one file? Or do I need to import all the objects from all the files that are involved in the project into one file?
entry: ['pathToFile1', 'pathToFile2']- Vasily Barbashev