codex-team / codex-team/editor.js
Parse error from 2.27.0 up
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Hello,
I have been trying to add Editorjs to my Webpack 4 project, but unfortunately it does work only up to version 2.26.5.
As soon as I upgrade to 2.27.0 and up I get the following error (this one is obtained running @editorjs/editorjs@2.28.0)
```
ERROR in ./node_modules/@editorjs/editorjs/dist/editorjs.mjs 2922:7
Module parse failed: Unexpected token (2922:7)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| return;
| }
> e ?? !this.Editor.BlockSettings.opened ? (this.Editor.Toolbar.moveAndOpen(), this.Editor.BlockSettings.open()) : this.Editor.BlockSettings.close();
| }
| /**
```
Is there some incompatibility with my toolchain? How can I help fix/debug this?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.