E6 Tree Shaking doc update

Webpack usage correction on:

“Babylon.js E6 support with Tree Shaking”

The below command gave me the error “Error: Cannot find module ‘webpack-cli/bin/config-yargs’”

npx webpack-dev-server

After a bit of searching I found that webpack-dev-serer should now be started this way:

npx webpack serve

Or optionally

npx webpack serve --mode development

Webpack reference:

So far no other issues with that page. Dev server is up and working.

Off topic:
Looking forward to trimming BabylonJS down to just the modules I need. Currently using BabylonJS and Blazor (WebAssembly) on a 3D video player project. The player supports numerous 3D format inputs and can output in numerous formats including support for glasses free 3D lenticular displays. I have been using BabylonJS for a while with a few other projects. I hope to share some of them soon. Thank you for all the hard work!

2 Likes

adding @sebavan

I ll update it this morning thanks a lot for the feedback