10 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
94
views
React RSBuild with Nginx proxy returns undefined in API URL after production build
I’m facing an issue with my React frontend (built with rsbuild) and my Node.js REST API.
Setup
Frontend: React (rsbuild)
Backend: Node.js REST API (pm2)
Server: Windows Server
Proxy: Nginx (serves ...
0
votes
1
answer
427
views
'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
I am migrating existing web application built with react-scripts and craco to Rsbuild following this guide. The project is using LESS and CSS (LESS) modules pattern.
During a build step a receive a ...
1
vote
2
answers
195
views
prevent or silence the following warning when using monaco-editor with rsbuild: "Critical dependency: ... dependencies cannot be statically extracted"
When using monaco-editor with rsbuild (regardless of whether we incorporate monaco-editor-webpack-plugin or not) we get the following warning during the build process:
⚠ Critical dependency: require ...
0
votes
1
answer
344
views
Use component exposed by @module-federation/rsbuild-plugin in nextjs
I have exactly the same problem like in this question but the solution does't work for me :(.
The difference in my case is that my remote component is exposed by @module-federation/rsbuild-plugin.
...
1
vote
0
answers
158
views
Rsbuild Dev Server & Production Build Memory usage exceeds limit despite setting NODE_OPTIONS=--max-old-space-size
I'm encountering high memory usage with the Rsbuild dev server and cannot effectively limit it, despite setting the NODE_OPTIONS=--max-old-space-size environment variable as recommended in the Rsbuild ...
0
votes
0
answers
897
views
How to correctly configure RsBuild and Module Federation v2 to work with React and statically served assets
I'm trying to configure a POC with RsBuild and Module Federation v2. The goal is to have two React application one remote and one host where both will have nested routes with React Router.
I followed ...
0
votes
0
answers
121
views
Migrating from Vite to Rsbuild error: memory allocation of 42 memory allocation of bytes failed
I am using the Rsbuild official website (https://rsbuild.dev/en/guide/migration/vite) to migrate my current project from Vite to Rsbuild. Below is my config file and error message from when I run the ...
0
votes
1
answer
155
views
Output in any other directory other than the dist folder
Trying out rsbuild and I have run into an interesting problem. What is the config that will let rsbuild output into an existing directory e.g. ./public
I want the assets to be nested under the public ...
2
votes
3
answers
2k
views
How do I force rspack / rsbuild to use relative paths?
I created a new React app using rspack, based on the docs I used the command npm create rsbuild@latest.
I deployed the build to Github pages, unfortunately the page is empty. It seems it's not able to ...
1
vote
0
answers
669
views
RsBuild react project got can not find module error for png image file
I am now setting up my RactJS project build with RsBuild,
in my main.css file, I have this
background-image: url(/background.png)
but when I run rsbuild dev command, I got this error:
Error: ...