babylonjs-webpack-es6 icon indicating copy to clipboard operation
babylonjs-webpack-es6 copied to clipboard

Fixing escaping in webpack config file

Open VicenteCartas opened this issue 6 months ago • 0 comments

The webpack chunking of the current project doesn't work in Windows as described in our docs here:

https://doc.babylonjs.com/setup/support/chunksFun/

That is because the escaping for the RegEx seems to be missing some escape characters. Tested this new escaping following the recommendation from webpack docs here: https://webpack.js.org/plugins/split-chunks-plugin/

The result now looks correct:

image

VicenteCartas avatar Jun 05 '25 23:06 VicenteCartas