You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in #3776 - CRA now transpiles all node_modules with babel-preset-env. Why does it not use the same plugins as well?
I created a module, which I use in multiple of my projects. And I get an error: Support for the experimental syntax 'classProperties' isn't currently enabled
I have to build it manually with babel every time I make changes... It works, but I am wondering if it is possible to enable the plugins to be used for node_modules some way without ejecting.
The text was updated successfully, but these errors were encountered:
Sorry, but you need to eject if you want to use unstable JavaScript features for your dependencies.
The best solution here is to build your module as if you were publishing to npm.
Is this a bug report?
No
As stated in #3776 - CRA now transpiles all node_modules with babel-preset-env. Why does it not use the same plugins as well?
I created a module, which I use in multiple of my projects. And I get an error:
Support for the experimental syntax 'classProperties' isn't currently enabled
I have to build it manually with babel every time I make changes... It works, but I am wondering if it is possible to enable the plugins to be used for node_modules some way without ejecting.
The text was updated successfully, but these errors were encountered: