Skip to content

Commit f3ce5d0

Browse files
committed
minor symfony#19037 [Encore] Updating Babel Plugin (ThomasLandauer)
This PR was merged into the 6.3 branch. Discussion ---------- [Encore] Updating Babel Plugin I don't know what I'm doing here! I merely guessed this, with the help of facebook/create-react-app#13189 after I was getting: > Error: Cannot find package '`@babel`/plugin-proposal-class-properties' imported from ... Commits ------- 6ae73f5 [Encore] Updating Babel Plugin
2 parents 9bdaa8b + 6ae73f5 commit f3ce5d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/encore/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ is the main config file for both Webpack and Webpack Encore:
111111
.enableVersioning(Encore.isProduction())
112112
113113
.configureBabel((config) => {
114-
config.plugins.push('@babel/plugin-proposal-class-properties');
114+
config.plugins.push('@babel/plugin-transform-class-properties');
115115
})
116116
117117
// enables @babel/preset-env polyfills

0 commit comments

Comments
 (0)