-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Importing with a type attribute of "css" is not supported #3792
Comments
This is happening because esbuild doesn't currently implement bundling CSS imports that use the Did you mean to use |
when i use esbuild style.js --bundle --minify --target=chrome123 --outfile=build/style.js --format=esm --loader:.css=copy
I also use Importing with a type attribute of "css" is not supported
style.js:1:48:
import styleCss from "./style.css" with { type: "css" }; please add support for |
Ah ok, so this is perhaps a request for |
I have this problem too, I used to use |
The name is However, enabling support for the |
Thanks for the clarification. Please would you verify I am understanding you correctly, bundling is currently supported for I am super excited and waiting for cause this cause I was forced to move to |
Yes, that's correct. The reason |
Chrome v126 is removed support for assert keyword and replace by with
I import css file and run in Chrome. cssStyleSheet imported and Chrome don't throw any error
When I try to build
esbuild throw error
When i use with keyword to import json. esbuild import json file and doesn't throw any error.
Please fix this issue ASAP
Thanks for your efforts
The text was updated successfully, but these errors were encountered: