mubaidr/vue-electron-template

how to config the webpack to support Dynamic Imports?

Closed this issue · 3 comments

I found that there are some js files like 1.js,2.js,3.js...after build,But I can't find where to config this,I config the webpack to support Dynamic Imports according to the document of official website,but the result is that it create js files like 1.bundle.js ....,Here is my config
image
Here is the result of build
image
What i should do? Thanks for your help!

Can you please post your webpack config?

Updated config to support chunks and dynamic imports: a587bb4

@mubaidr Thanks for your reply! Here is my address of my project,you can find my webpack config and the result of build
https://github.com/itlixiaolong/electron-vue-project