Trying to integrate with React App, getting module parse failed
Closed this issue · 1 comments
watcherdm commented
Failed to compile.
./node_modules/@3d-dice/dice-box/dist/world.onscreen.js 7870:47
Module parse failed: Unexpected token (7870:47)
File was processed with these loaders:
- ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|
| v = (_ = k.processFinalCode) !== null && _ !== void 0 ? _ : null, m = (E = k.processCodeAfterIncludes) !== null && E !== void 0 ? E : void 0;
} else this._engine = r, this.defines = n ?? "", this._uniformsNames = i.concat(s), this._samplerList = s ? s.slice() : [], this._attributesNames = t, this._uniformBuffersNamesList = [], this._shaderLanguage = d, this.onError = h, this.onCompiled = o, this._indexParameters = l, this._fallbacks = a;
|
| this._attributeLocationByName = {}, this.uniqueId = De._UniqueIdSeed++;
watcherdm commented
Neverminded, it's null coalescence