Open dialing-up opened 3 years ago
Had the same problem here. Building with yarn build
generates a file with all the expected code but the export is missing.
Edit: here is one possible resolution: https://github.com/raykyri/editor.js/commit/228cd91399a1664e1032763a025297f77cbc198f
Describe a bug.
[!] Error: 'default' is not exported by node_modules/@editorjs/editorjs/dist/editor.js, imported by out-tsc/src/BlogBuild.js
Steps to reproduce: Import EditorJS as '@editojs/editorjs'
Editor.js version: 2.19.1
Plugins you use with their versions: none
Edit: When I added 'export default EditorJS' as a line at the end of @editorjs/editorjs/dist/editor.js, it started working, so I believe that is the issue.