Replies: 4 comments 4 replies
-
Hi, I have just added an example project for Node.js & TypeScript, see: https://github.com/web-infra-dev/rsbuild/tree/main/examples/node This example contains some basic setups. If you have any other questions, feel free to ask here. π |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for providing the example! π I have one more request: I need a script (a command in package.json, like "dev") that would allow me to work in development mode so that when I make changes to the code, I can immediately see those changes in the console. For example, if I write console.log('Hello, World!');, save the file, I want that to show up immediately in the console. And if I change this to console.log('Hello, World! β€οΈ π₯ π!');, I want the changes to also appear instantly in the console, without having to restart the command. Can you help me set up a development mode like this, where changes are applied automatically? bandicam.2024-01-22.13-49-44-649.mp4 |
Beta Was this translation helpful? Give feedback.
-
It doesn't work as expected π€·ββοΈ. start Compiling... bandicam.2024-01-22.14-09-53-709.mp4 |
Beta Was this translation helpful? Give feedback.
-
The `rsbuild build' command only builds the source code, it does not execute the output code. π |
Beta Was this translation helpful? Give feedback.
-
Hello, Rsbuild Team! π
I'm exploring ways to use Rsbuild for a Node.js project with TypeScript that operates in the console, without launching a web server. I aim to create a Node.js application template with TypeScript using Rsbuild, but I'm facing difficulties in configuring tsconfig.json and rsbuild.config.ts.
Most information about Rsbuild seems to focus on web development, and I'm unsure how to adapt it for Node.js and TypeScript in a non-web server environment. I would greatly appreciate your assistance with:
Thank you for your help and looking forward to your advice! π
Beta Was this translation helpful? Give feedback.
All reactions