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
e.g. the char() call isn't transformed - all other imports are correctly transformed.
Version
1.2.2
Additional context
Invoke test project as pnpm run dev:rspack:es5 to enable syntax lowering (crash in browser)
and compare with pnpm run dev:rspack to bundle without lowering (OK in browser)
The text was updated successfully, but these errors were encountered:
Describe the bug
Having a bug when using syntax lowering with the
stylis
dependency - some imports aren't transformed correctly.Input code
Config
See
rspack.config.mjs
Playground link (or link to the minimal reproduction)
https://github.com/elsassph/rspack-repro-lowering-bug
SWC Info output
Expected behavior
Should compile
from(char())
intoActual behavior
Incorrectly compile
from(char())
intoe.g. the
char()
call isn't transformed - all other imports are correctly transformed.Version
1.2.2
Additional context
Invoke test project as
pnpm run dev:rspack:es5
to enable syntax lowering (crash in browser)and compare with
pnpm run dev:rspack
to bundle without lowering (OK in browser)The text was updated successfully, but these errors were encountered: