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:
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Uh oh!
There was an error while loading. Please reload this page.
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: