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: v5.0.0-beta2~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5538ffb29214be2c946eb846ddbc41ee839b590f;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 78f76622a4..ea74773902 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 = {