... | ... | @@ -19,7 +19,7 @@ In order to workaround that, include `/@unitybase/` expression into configuratio |
|
|
},
|
|
|
```
|
|
|
|
|
|
Once this is done, WebPack will start to use `babel-loader` for UnityBase packets, which causes another problem - by default, Babel won't work with CommonJS modules.
|
|
|
Once this is done, WebPack will start to use `babel-loader` for UnityBase packets, which causes another problem - Babel by default won't work with CommonJS modules.
|
|
|
In order to fix that, configure `transform-runtime` plugin as the following:
|
|
|
```javascript
|
|
|
"plugins": [
|
... | ... | |