Skip to content

How to enable third party plugins for BabelConfig? #248

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

Closed
joskoanicic opened this issue Mar 18, 2016 · 1 comment
Closed

How to enable third party plugins for BabelConfig? #248

joskoanicic opened this issue Mar 18, 2016 · 1 comment

Comments

@joskoanicic
Copy link

I am trying to use transform-decorators-legacy plugin, but because it's not part of the preset plugins I get this error:

Invalid plugin specified in Babel options: "transform-decorators-legacy"

Is there a way to include or set the path to the plugin js?

Thank you.

P.S. Forgot to mention that I am using .NET Bundling and Minification

@Daniel15
Copy link
Member

Daniel15 commented Apr 7, 2016

transform-decorators-legacy was added to babel-standalone in 78ad50a8068771b9fa07ac162d37f910d9245b44, so I just need to update the version of babel-standalone bundled with ReactJS.NET.

Currently, there's no way to use custom Babel transforms with ReactJS.NET if they're not bundled with babel-standalone.

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

No branches or pull requests

2 participants