-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Support also css files for use with import attributes #56507
Comments
Duplicate of #46135 |
don't know if it is exactly the same. The other issue is about the type of the import, mine especially that the import errors with file not found if it is a css file |
We treat that import as an import of JS code, so it's going to fail without an ambient declaration or a |
So is this planed to be fixed, or need there be a .d.css.ts file for each stylesheet? |
See the other thread, which is about supporting methods to allow resolution with an import attribute of type css. |
This issue has been marked as "Duplicate" and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
π Search Terms
import, css
π Version & Regression Information
β― Playground Link
No response
π» Code
π Actual behavior
reports an error cause of not finding the css file
π Expected behavior
should find the css file
Additional information about the issue
whatwg/html#4898
The text was updated successfully, but these errors were encountered: