Open webciter opened 3 years ago
getting failed to compile
./node_modules/box2d-wasm/dist/es/Box2D.simd.js 2:25 Module parse failed: Unexpected token (2:25) File was processed with these loaders:
var _scriptDir = import.meta.url; | return function (Box2D) { | Box2D = Box2D || {};
Webpack config is documented here:. https://github.com/Birch-san/box2d-wasm/issues/26
Actually if it's a syntax error that sounds like a different problem: parsing ES6 as CommonJS
getting failed to compile
./node_modules/box2d-wasm/dist/es/Box2D.simd.js 2:25 Module parse failed: Unexpected token (2:25) File was processed with these loaders: