diff --git a/frontend/encore/installation.rst b/frontend/encore/installation.rst index 118e15e7b0e..26d4b4242f7 100644 --- a/frontend/encore/installation.rst +++ b/frontend/encore/installation.rst @@ -111,7 +111,7 @@ is the main config file for both Webpack and Webpack Encore: .enableVersioning(Encore.isProduction()) .configureBabel((config) => { - config.plugins.push('@babel/plugin-proposal-class-properties'); + config.plugins.push('@babel/plugin-transform-class-properties'); }) // enables @babel/preset-env polyfills