All named imports seem missing on snowpack v3 in some cases #2568
Unanswered
kyya
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since I upgrade to snowpack v3, I found that some packages seem missing all named import if it both have default import and named imports after snowpack's transform.
For example, I am using a package named
redux-logger
in my project. This is part of source codeWhen I tried to import it's default import, it's ok.
But when I tried to import it's named imports, such as
createLogger
, it sayscreateLogger
not found.I also tried these approaches that not working.
And I also checked transformed source code with snowpack v3 in
_snowpack/pkg/redux-logger.js
Finally, this is transformed source code with snowpack v2 in
web_modules/redux-logger.js
Does anyone has same issues about that?
Beta Was this translation helpful? Give feedback.
All reactions