New issue
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
exportType still doesn't work with rollupjs ?! #947
Comments
Understood. This line should be If it's by design and won't be fixed, then those who want the default export feature can:
Then to replace all the named imports to default imports, you can use this regexp: pattern: |
馃悰 Bug Report
exportType doesn't seems to be supported. 3 years ago I was using webpack it wasn't supported, 3 years later, I use vite (and so rollup.js) and exportType still isn't supported.
To Reproduce
Expected behavior
I expect to get a the component as default export, so that I'm not forced to use the long boilerplate
"import {ReactComponent as My_svg} ...
The text was updated successfully, but these errors were encountered: