stable

Clone or download

Read-only

chore: Fix scss import of prose-mirror-editor in watch

part of story #38627 : Choice of a new Rich Text Editor No functional change. When you run the following command and make any change to prose-mirror-editor, the watch should not crash: $ pnpm --filter=prose-mirror-editor --filter=plugin-artidoc --parallel run watch Why? Having a separate export path for the SCSS style works better with vite with our current configuration. I also took the opportunity to mark other libs as external, so that consumer apps may dedupe common libraries such as neverthrow, fault, fetch-result. This slightly reduces artidoc's bundle size 314.64 kB -> 306.39 kB Change-Id: I811da7d3a964a95b3eea62cf44f76ffa85f36f4a

Modified Files

Name
M lib/frontend/prose-mirror-editor/package.json +10 −7 Go to diff View file
M lib/frontend/prose-mirror-editor/vite.config.ts +14 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/App.vue +1 −1 Go to diff View file