chore: Move to RSpack by juliusknorr · Pull Request #8107 · nextcloud/text

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Draft

chore: Move to RSpack#8107

juliusknorr wants to merge 1 commit intomainfrom

chore/rspack

Conversation

@juliusknorr

Copy link Copy Markdown

Member

@juliusknorr juliusknorr commented

Dec 21, 2025

edited

Loading

This is a first attempt to try our RSpack which is also used by talk now.

Reference in talk nextcloud/spreed#16070

Webpack RSpack
npm run dev 35s 1,78s
Size of loaded js in files with an open editor 3,1 MB 1,7MB

@codecov

Copy link Copy Markdown

codecov bot commented

Dec 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@juliusknorr

Copy link Copy Markdown

Member Author

Warning still to figure out

WARNING in ./node_modules/moment/min/moment-with-locales.js 2159:16-50
  ⚠ Module not found: Can't resolve './locale' in '/Users/julius/repos/nextcloud/server/apps/text/node_modules/moment/min'
      ╭─[2159:16]
 2157 │                 oldLocale = globalLocale._abbr;
 2158 │                 aliasedRequire = require;
 2159 │                 aliasedRequire('./locale/' + name);
      ·                 ──────────────────────────────────
 2160 │                 getSetGlobalLocale(oldLocale);
 2161 │             } catch (e) {
      ╰────


Rspack compiled with 1 warning in 1.87 s

@juliusknorr juliusknorr force-pushed the chore/rspack branch 2 times, most recently from 4bbb63f to 51101e1 Compare

December 21, 2025 20:53
Signed-off-by: Julius Knorr <jus@bitgrid.net>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@max-nextcloud max-nextcloud Awaiting requested review from max-nextcloud max-nextcloud will be requested when the pull request is marked ready for review max-nextcloud is a code owner

@mejo- mejo- Awaiting requested review from mejo- mejo- will be requested when the pull request is marked ready for review mejo- is a code owner

@silverkszlo silverkszlo Awaiting requested review from silverkszlo silverkszlo will be requested when the pull request is marked ready for review silverkszlo is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@juliusknorr