Rspack not only supports building frontend projects but also supports building Node.js App like NestJS. Rspack provides NestJS example for reference.
When building Node.js applications with Rspack, you may encounter dependencies that include Node.js native addon dependencies (.node
modules). Because .node
modules cannot be packaged into JavaScript artifacts, special handling is usually required. node-loader can be used to handle addon packaging very well.