herberttn / bytenode-webpack-plugin

Compile JavaScript into bytecode using bytenode
MIT License
105 stars 27 forks source link

ChunkLoadError #34

Open em3ai opened 10 months ago

em3ai commented 10 months ago

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

herberttn commented 9 months ago

@em3ai can you make a reproduction repository?