when i use webpack and there are more than 1 chunck, it will report "ChunkLoadError". For Example, before compiling, there are two chunck A (index.js in the dir A) and B(index.js in the dir B), and there is "const a = require('A')" in index.js of B dir. after complied, it will report error "chunck load error,failed to load chunk A: A/index.js". Becase there is no A/index.js, only A/index.jsc
when i use webpack and there are more than 1 chunck, it will report "ChunkLoadError". For Example, before compiling, there are two chunck A (index.js in the dir A) and B(index.js in the dir B), and there is "const a = require('A')" in index.js of B dir. after complied, it will report error "chunck load error,failed to load chunk A: A/index.js". Becase there is no A/index.js, only A/index.jsc