You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> rspack -c rspack.config.js
ERROR in ./scripts/.modernizrrc
× Error: on JsLoaderContext.additionalData
│ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Rspack compiled with 1 error in 58.20 s
The time taken probably reflects my ts-loader as it takes about 60 seconds to typecheck.
System Info
Details
I was testing out rspack moving from Webpack and I use
val-loader
together with https://www.npmjs.com/package/val-loader-modernizrWhen I execute the build, I get this error:
The time taken probably reflects my
ts-loader
as it takes about 60 seconds to typecheck.The rule looks like:
Note: In ESM module in repro, I use
fileURLToPath(import.meta.resolve("val-loader-modernizr"))
but in my project I'm still using CommonJS config.Reproduce link
https://github.com/kamranayub/rspack-bug-val-loader
Reproduce Steps
pnpm install
(orbun install
)npm run build
or (pnpm run build
)The text was updated successfully, but these errors were encountered: