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
In my scripts I have import sheet from "./index.css" assert { type: "css" };
How can I enable this in Klap?
This is the error I get
Add @babel/plugin-syntax-import-assertions (https://git.io/JUbkv) to the 'plugins' section of your Babel config to enable parsing.
(node:67497) UnhandledPromiseRejectionWarning: Error: SyntaxError: /Users/marcus/Library/Mobile Documents/com~apple~CloudDocs/Projects/private/wieldy/src/app/wwwroot/scripts/components/save-button/index.js: Support for the experimental syntax 'importAssertions' isn't currently enabled (5:33):
The text was updated successfully, but these errors were encountered:
👋 @marcuslindblom, Are import assertions ready in babel? I tried adding the @babel/plugin-syntax-import-assertions but it still errors out with invalid syntax. I assume there needs to be a @babel/plugin-transform-import-assertions for this to work?
@osdevisnot Do you think we can add this feature? I'm not sure how to add plugins to klap so I'm not capable of making a PR. I also found this discussion for rollup rollup/rollup#3799
In my scripts I have
import sheet from "./index.css" assert { type: "css" };
How can I enable this in Klap?
This is the error I get
The text was updated successfully, but these errors were encountered: