fix: Build issue on Mac ARM

Since the project is actually only used on Linux,
npm didn't have installed packaged needed for
Mac ARM.

I just needed to force install rspack to get the
needed packages. I took the opportunity to upgrade
rspack version.

It fixes:

```
npm run start

> front@0.1.0 start
> PORT=5000 rsbuild dev

node:internal/modules/cjs/loader:1410
  const err = new Error(message);
              ^

Error: Cannot find module '@rspack/binding-darwin-arm64'
```
This commit is contained in:
Crash--
2025-09-01 09:58:20 +02:00
committed by Quentin Valmori
parent 9b304c58f8
commit 63ddbacf19
2 changed files with 241 additions and 41 deletions
+1 -1
View File
@@ -63,7 +63,7 @@
"devDependencies": {
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@rsbuild/core": "^1.4.3",
"@rsbuild/core": "^1.5.2",
"@rsbuild/plugin-react": "^1.3.3",
"@rsbuild/plugin-svgr": "^1.2.0",
"@testing-library/dom": "^10.4.0",