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 am facing an issue
CSS props not working properly they are rendering as <div css="background:papayawhip;">Hello</div>
<div css="background:papayawhip;">Hello</div>
When i use the typescript plugin as below code then it does not work
typescript({ tsconfig: path.resolve('./tsconfig.json'), transformers: [ () => ({ before: [styledComponentsTransformer], }), ], }), babel({ extensions: [".js", ".jsx", ".ts", ".tsx"], plugins: ["babel-plugin-styled-components"], presets: [ [ "@babel/preset-react", ], ], }),
But when i use this without typescript it works
babel({ extensions: [".js", ".jsx", ".ts", ".tsx"], plugins: ["babel-plugin-styled-components"], presets: [ ["@babel/preset-typescript",], ["@babel/preset-react", ], ], }),
But i need to make this work with Typescript plugin as i want the .d.ts types files to be generated as well babel does not generate the types files.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am facing an issue
CSS props not working properly they are rendering as
<div css="background:papayawhip;">Hello</div>
When i use the typescript plugin as below code then it does not work
But when i use this without typescript it works
But i need to make this work with Typescript plugin as i want the .d.ts types files to be generated as well babel does not generate the types files.
The text was updated successfully, but these errors were encountered: