Closed tabatinga0xffff closed 9 months ago
If I mark @editorjs/editorjs
as external, this will then bring other issues.
All in all, how could it even work? As I've found out, an npm module which is @editorjs/editorjs
can't be --bundle
d with esbuild
to work in the browser.
Only if I revert to
"@editorjs/editorjs": "git+https://github.com/pentacent/editor.js.git#ff6e6ac3272f29e02229cd97ebffa5acf6c0e0fe",
will the editor start to compile and work.
How do this branch and commit differ from the upstream?
I'm building it manually, without a docker on a server, with ENV=prod, MIX_ENV=prod, NODE_ENV=production
How to fix it?
mix:
config.exs: