Replies: 3 comments 1 reply
-
Forgot to say that we use the new |
Beta Was this translation helpful? Give feedback.
-
Curious about the not exiting on build. However, this is encouraging still. I'll add some of what you have written here as issues that you ran into as issues that need to be addressed. |
Beta Was this translation helpful? Give feedback.
-
I'm going to convert this is to a discussion now that I've listed out the issues in the pinned Known Issues issue. |
Beta Was this translation helpful? Give feedback.
-
Hey, great work so far! Thanks for taking the path. I was extremely curious how your early work runs in our ionic-angular application and wanted to give it a spin and share it with you.
I just installed your package via pnpm, created a rspack.config.cjs (we have type=module). Copied our Angular.json build config over, commented out properties you are not supporting atm and ran it.
First run failed (ofc) but just with a few errors because of missing features. Changes I had to make to our copied config:
./node_modules/
since some do not have "exports" set correctly in package.json@import
@use
in SCSS files that are cross-linked withstylePreprocessorOptions.includePaths
assets
with globs (you support only string, atm)rspack build
, so need to CTRL-CBuild runs great, code-splitting works flawlessly (love that part of rsbuild), even for CSS.
time pnpm rspack build
: 11 directories, 237 files – 5.43s (little delay since I need to CTRL-C)time pnpm ng build
: 14 directories, 381 files – 7.89s (cold)time pnpm ng build
: 14 directories, 381 files – 7.89s (warm)Our configs:
tsconfig.json
rspack.config.cjs
Things we are missing are just env/dotenv support or extensibility to enable Define-plugin and an index transformer (which you already put on the roadmap I saw).
I hope this helps :)
Beta Was this translation helpful? Give feedback.
All reactions