A large number of dist files are generated by `npm run build`.

is my dist file correct?

I used npm run build to generate the files in the dist directory:

there are many .chunk.js files, dozens of them. Is that how you generate them?
I want to pack up and publish it on the Internet. Do I have to copy all the files here? Isn"t that a little too much? I have seen others before npm run build as if there are only a few files.

Mar.02,2021

1. First of all, if you load on demand, there must be a lot of files
2. Second, you have two different hash files with the same name. Note that the previous record was not cleared during this package


it is suggested to re-generate the project structure with vue-cli according to the official document:
ide/installation.html-sharp%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7-CLI" rel=" nofollow noreferrer "> ide/installation.html-sharp%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7-CLI "rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.


this is normal


clear in build first.

Menu