Skip to content

WIP: migrate to vite 8#52

Draft
HenkKalkwater wants to merge 1 commit into
mainfrom
npm-dependencies-update
Draft

WIP: migrate to vite 8#52
HenkKalkwater wants to merge 1 commit into
mainfrom
npm-dependencies-update

Conversation

@HenkKalkwater

Copy link
Copy Markdown
Contributor
  1. Replace commonjs exports with es6 syntax This has mostly been done by lebab, plus some manual jscodeshift scripts
  2. Update vite and dependencies that break under vite8
  3. Make a multistage Docker build and use nginx instead of express This significantly shrinks the Docker image size, since nodejs no longer has to be bundled in production builds.

Not everything has been 100% tested yet, but most functionality works. There are still some external libraries which use commonjs imports/exports, such as the ACE editor.

1. Replace commonjs exports with es6 syntax
   This has mostly been done by lebab, plus some
   manual jscodeshift scripts
2. Update vite and dependencies that break under
   vite8
3. Make a multistage Docker build and use nginx instead of express
   This significantly shrinks the Docker image size,
   since nodejs no longer has to be bundled in production builds.
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