-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
fix: remove import attributes #705
fix: remove import attributes #705
Conversation
π· Deploy request for nuxt-storybook pending review.Visit the deploys page to approve it
|
Thanks, but now the build fails with
Do you know what exactly is triggering the issue #704? I'm a bit confused why it refers to babel. I've found a similar error at unjs/listhen#176. But vite, rollup and esbuild all should support import assertions... |
I've opened storybookjs/storybook#28594 at the storybook repo for a long-term fix (which would allow us to completely remove the package json import). But it would be good to have a temporary solution until the upstream fix is released. A bit hacky, but perhaps sufficient: just specify an object with a |
I see you get the error while building while I get the error when running nuxt prepare with the storybook module installed |
Thanks for the context! I can take a look |
It could be also Jiti, which may need to be updated to V2 |
I've now fixed the issue in #722. Many thanks for your PR! π₯³ |
Awesome, hope i can offer some more help in the future π |
π Linked issue
#704
β Type of change
removed the import attribute
π Description
it seems like untyped, a package used by @nuxt/kit can't parse this syntax