Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature: added support default export from babel #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

besrezen90
Copy link

@besrezen90 besrezen90 commented Jun 24, 2020

Closes #16
In options use useDefaultExport: true to avoid the following error "babel plugin-transfrom-typescript does not support export = syntax"

Copy link
Contributor

@Obi-Dann Obi-Dann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you for the PR! As I mentioned on the PR, babel really should touch these files. The generated files are only use for type checking, babel does not do any typechecking so these files should ideally be just ignored for babel-loader. However, people still have a problem with it. Going to reply on the issue with a potential fix...

@slackday
Copy link

slackday commented Feb 11, 2022

Any update on this? Still having issues years later 👀 Can't find way to ignore .css.d.ts files in babel-loader

edit sorry for craving attention here. I had the same issue but it originated from somewhere else in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

babel plugin-transfrom-typescript does not support export = syntax
3 participants