-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
.scss
/.sass
imports in .js/.ts
files break when transpiled, because the .scss
/.sass
file doesn't exist anymore.
So, e.g. import "./styles/index.scss";
stays import "./styles/index.scss";
post-transpile, even though it must be import "./styles/index.css";
to still work.
As a workaround imports can be changed to use the .css
file extension (e.g. import "./styles/index.css";
) to work post-transpile.
Unfortunately this breaks IDE support and bundler support.
Is transforming these imports something that can/should be done by mkdist
?
Additional information
- Would you be willing to help implement this feature?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request