Closed fanbinghuadev closed 2 years ago
TEST is for unit tetsts, not a build. It's recommended to uset his strategy when you want to do a build that has I.e. different config values:
https://cli.vuejs.org/guide/mode-and-env.html#example-staging-mode
TEST is for unit tetsts, not a build. It's recommended to uset his strategy when you want to do a build that has I.e. different config values:
https://cli.vuejs.org/guide/mode-and-env.html#example-staging-mode
Thanks,I know. But I'm trying to figure out if this is a limitation of webpack or vue cli
Vue CLI. And if you want to, you can certanly dig into the webpack config and adjust it.
Vue CLI. And if you want to, you can certanly dig into the webpack config and adjust it.
Can you tell me where vue cli does this restriction? I've been looking for a long time, but I can't find it
Version
4.5.15
Environment info
Steps to reproduce
vue-cli-service build --mode test
What is expected?
dynamic import generate seperate chunks
What is actually happening?
dynamic import not generate sepearte chunks