Hi,
Someone have tried to use LegacyPbrMaterial with webpack? I copied file babylon.legacyPbrMaterial.min.js and made import in project (import "babylonjs/babylon.legacyPbrMaterial") but after that I get error
Uncaught ReferenceError: __extends is not defined
at babylon.legacyPbrMaterial.js:1
at BABYLON (babylon.legacyPbrMaterial.js:1)
at Object.exports.byteLength (babylon.legacyPbrMaterial.js:2)
at __webpack_require__ (bootstrap 3ce2b0a…:19)
I have same erro if i try ti use inpsector.
I am missing some config for webpack or typescript?