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
feature #889 bumping preset-env to version that depends on @babel/plugin-proposal-class-properties (weaverryan)
This PR was merged into the main branch.
Discussion
----------
bumping preset-env to version that depends on @babel/plugin-proposal-class-properties
This helps fixsymfony/stimulus-bridge#16
Basically, in the Encore recipe, we add the `@babel/plugin-proposal-class-properties` plugin in `webpack.config.js`. But, this is not necessarily in the user's project. But 7.10 of `@babel/preset-env` started including this package.
So it's a bit of an odd solution, as we're bumping this dependency so that users can do something simpler in userland config, but I think it's the simplest path. This is basically why most users already are able to use Stimulus (and the class properties it uses) without issues, as most people probably already have `@babel/preset-env` 7.10 or higher.
Commits
-------
aab1fb5 bumping preset-env to version that depends on @babel/plugin-proposal-class-properties
0 commit comments