]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
build-plugins: switch to "bundled" for babel helpers (#32312)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 7 Dec 2020 17:06:17 +0000 (19:06 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 8 Jan 2021 10:04:37 +0000 (12:04 +0200)
build/build-plugins.js

index 521450f8568c616e2004d6db6373d39cfcfedf9f..3406f50ba3f7d8c1e0e71ef8fd72c9eb8d1ee8a5 100644 (file)
@@ -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 = {