We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Should @import rules be resolved and included in the type definitions?
Directory Structure
src/Component src/Component/Header/ src/Component/Header/header.css src/Styles src/Styles/dimensions.css
dimensions.css
.container { color: red; }
header.css
@import '../../Styles/dimensions.css'; .header { color: blue; }
declare const styles: { readonly "header": string; readonly "container": string; }; export = styles;
declare const styles: { readonly "header": string; }; export = styles;
The text was updated successfully, but these errors were encountered:
+1 for resolving @imports correctly from the node_modules directory. Otherwise we will have half of the files with declarations and half without.
@imports
node_modules
Sorry, something went wrong.
No branches or pull requests
Should @import rules be resolved and included in the type definitions?
Directory Structure
dimensions.css
header.css
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: