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
I've code where some librarys import css without a assertion or a with attribute:
import aaSheet from "aa.css";
this works, but if I have this code:
import bbSheet from "bb.css" assert {type: 'css'};
or this:
import bbSheet from "bb.css" with {type: 'css'};
then the type of bbSheet hast to be a CSSStyleSheet, but esbuild does not create one.
And I don't know in the onResolveCallback if the "assert" or "with" attribute is present (the assert keyword was changed to with, but it should be nearly the same), so I don't know how I could create a plugin
dy, mangelozzi, codyburleson, paulirish, raviqqe and 1 more