-
Notifications
You must be signed in to change notification settings - Fork 30
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
babel plugin-transfrom-typescript does not support export =
syntax
#16
Comments
Ups! that was mine work github, anyways I'll continue over my independent github account now on. Sorry about cross account confusion. |
AFAIK, |
I'm also having the same problem and making babel exclude these files is not doing anything - now typescript is not picking it up. Babel is needed because it feeds the files to typescript |
Hi everyone who still has this issue. Just added a reply to @besrezen90's PR #28 (review)
I am failing to replicate the issue and need some help with that.
In my setup, everything works fine when I don't include |
Or it'd really help if anyone can create a sample project reproducing the issue ❤️ |
I'll do ✋ |
Hello there,
My typescript compiler is babel and using babel plugin-transform-typescript. I believe changes on this #14 would effect babel loader and started get error above.
Babel clearly warned that
export =
can't work for them.https://babeljs.io/docs/en/babel-plugin-transform-typescript#caveats
I'd like to make PR for it but want to ask your opinion because you've recently removed it and introduce
export =
style.What do you suggest to change? I am more than happy to contribute.
(maybe pass loader as parameter and change
export
expression accordingly?)The text was updated successfully, but these errors were encountered: