Commit 46a8c59
committed
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 fix symfony/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-properties2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
750 | | - | |
| 750 | + | |
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
| |||
0 commit comments