-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin-styled-components crashes with 'Error while importing "env"."__get_transform_plugin_config": unknown import.' #60
Comments
Try latest @swc/core. There are some breaking changes we are making beforfe we're out of experimental stage, which causes these kind of imcompatbility time to time. |
Thanks! I get a different error with the latest swc:
|
That sounds like there's some char in input need to be checked. |
Any additional info/debugging I can provide? Understood this is still experimental/under development. |
We need input src can repro to dig further. |
Unfortunately on a private project, but I'll see if I can isolate a small project to repro - hopefully later today. |
The UTF8 error is actually an issue with the latest swc/core version - I'll wait for something stable for core and report back about the plugin. Thanks! |
Mind file an issue in swc/core with reproducible input? that'll make fix easier. |
I have the same issue. Unfortunately, I cannot provide my
Versions:
webpack rule:
This is my
Output:
|
Can you try |
@kdy1 Seems to be worse as I don't have any tracing info to provide now
theo@theo-switchboard frontend % RUST_BACKTRACE=1 yarn start
|
I think it will now work |
it worked! thanks |
Trying to use the styled-component plugin to get display names on dev. here is my .swcrc
I have swc/core 1.2.215 and latest for @swc/plugin-styled-components.
When I try to run it, I get:
The text was updated successfully, but these errors were encountered: