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
I'm currently using typed-css-modules to generate css-modules types in a snowpack project that uses @babel/plugin-transform-typescript under the hood.
typed-css-modules
css-modules
@babel/plugin-transform-typescript
When building, I get the following error:
`export =` is not supported by @babel/plugin-transform-typescript Please consider using `export <value>;`.
To solve this issue, we can change this line:
typed-css-modules/src/dts-content.ts
Line 53 in 3b9f9e5
To 'export default styles;',
'export default styles;',
I'll work on a PR for it, but in the meantime, do you see any issues with this approach?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Situation
I'm currently using
typed-css-modules
to generatecss-modules
types in a snowpack project that uses@babel/plugin-transform-typescript
under the hood.Problem
When building, I get the following error:
Solution
To solve this issue, we can change this line:
typed-css-modules/src/dts-content.ts
Line 53 in 3b9f9e5
To
'export default styles;',
I'll work on a PR for it, but in the meantime, do you see any issues with this approach?
The text was updated successfully, but these errors were encountered: