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
This completely ignores the https://esbuild.github.io/api/#loader API, for example in your ESBuild config if you were to do ".css": "text" this wouldn't work.
Solutions
Not sure how hard it would be, but ideally we'd check the Loader API options here.
An alternative approach would be to change the default filter so this plugin only runs on JS/JSX/TS/TSX files.
The text was updated successfully, but these errors were encountered:
Description
The bug comes from this line:
This completely ignores the https://esbuild.github.io/api/#loader API, for example in your ESBuild config if you were to do
".css": "text"
this wouldn't work.Solutions
Not sure how hard it would be, but ideally we'd check the Loader API options here.
An alternative approach would be to change the default filter so this plugin only runs on JS/JSX/TS/TSX files.
The text was updated successfully, but these errors were encountered: