From e18f4e20c76516daaa11bf7b019a4117719f6b36 Mon Sep 17 00:00:00 2001 From: Duncan Brown Date: Fri, 2 Jul 2021 22:53:45 +0100 Subject: [PATCH] Fix babel deprecation warning https://github.com/rails/webpacker/pull/3016 --- babel.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/babel.config.js b/babel.config.js index 84888b6197b..b58805dff56 100644 --- a/babel.config.js +++ b/babel.config.js @@ -66,6 +66,12 @@ module.exports = function(api) { { async: false } + ], + [ + '@babel/plugin-proposal-private-methods', + { + loose: true + } ] ].filter(Boolean) }