[Vuejs]-When would webpack's import() not create a new file?

2👍

It seems webpack is smarter than I!

The issue was that I had already elsewhere in my app imported this specific module into the dependency tree.

The outcome was that the import statement was working, but it was not creating a new chunk.

Would be nice if webpack could maybe point this out, in large projects I can see this happening quite often during a refactor.

👤dendog

Leave a comment