davidwarrington / theme-packer

https://davidwarrington.github.io/theme-packer/
6 stars 1 forks source link

get-chunk-name doesn't work in Webpack v5. #1

Closed davidwarrington closed 3 years ago

davidwarrington commented 3 years ago

Code splitting has been ported from Slate v1 in feature/code-splitting, but has required downgrading Webpack to v4.

The getChunkName function sometimes returns names that are the same as existing build entrypoints. This behaviour has been deprecated in Webpack 5, so an alternative solution will probably be required in the future.

Some possible ways forward are:

davidwarrington commented 3 years ago

Package has now been set up to use Webpack v5 codesplitting. Might need to revisit this further down the line.