From: XhmikosR Date: Mon, 7 Dec 2020 17:06:17 +0000 (+0200) Subject: build-plugins: switch to "bundled" for babel helpers (#32312) X-Git-Tag: v4.6.0~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=810de41bc30b22c17f306a8a1ed3beea39846e60;p=thirdparty%2Fbootstrap.git build-plugins: switch to "bundled" for babel helpers (#32312) --- diff --git a/build/build-plugins.js b/build/build-plugins.js index 521450f856..3406f50ba3 100644 --- a/build/build-plugins.js +++ b/build/build-plugins.js @@ -19,8 +19,8 @@ const plugins = [ babel({ // Only transpile our source code exclude: 'node_modules/**', - // Inline the required helpers in each file - babelHelpers: 'inline' + // Include the helpers in each file, at most one copy of each + babelHelpers: 'bundled' }) ] const bsPlugins = {