Skip to content

chore: migrate from common js to esm - #683

Open
neSpecc wants to merge 5 commits into
masterfrom
esm
Open

neSpecc wants to merge 5 commits into
masterfrom
esm

Conversation

@neSpecc

@neSpecc neSpecc commented Oct 21, 2026

Copy link
Copy Markdown
Member

Migrate old common js imports to esm

neSpecc and others added 5 commits October 21, 2026 02:59
- webpack 4 -> 5, webpack-cli 7, Babel 8, ESLint 10 (flat config + @Stylistic),
  css-loader 7, postcss 8 with up-to-date plugins; drop unused loaders and plugins
- webpack config is ESM now; remove noParse/mainFields workarounds,
  expose default exports as globals (codex, HawkCatcher, reactions)
- convert remaining CommonJS modules to import/export
- replace abandoned postcss-apply with postcss-mixins
- keep root-relative url() in CSS as is, fix broken relative image urls
- drop npm packageManager field that broke yarn in CI, build on Node 24
- keep @editorjs/list on 1.x and allow table "stretched" in the backend schema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant