diff options
author | Mario <mario@mariovavti.com> | 2020-06-13 10:00:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-06-13 10:00:50 +0000 |
commit | dc3b09c8f38872ef8b792a4b551671a6105754cc (patch) | |
tree | 554f130cc2d5a00088cad6c9a75ae0a8f2d558f8 /vendor/twbs/bootstrap/build/rollup.config.js | |
parent | c8c4513af98a9dd2a6d9331ba4b3ab3af0e95a5f (diff) | |
download | volse-hubzilla-dc3b09c8f38872ef8b792a4b551671a6105754cc.tar.gz volse-hubzilla-dc3b09c8f38872ef8b792a4b551671a6105754cc.tar.bz2 volse-hubzilla-dc3b09c8f38872ef8b792a4b551671a6105754cc.zip |
composer update bootstrap
Diffstat (limited to 'vendor/twbs/bootstrap/build/rollup.config.js')
-rw-r--r-- | vendor/twbs/bootstrap/build/rollup.config.js | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/vendor/twbs/bootstrap/build/rollup.config.js b/vendor/twbs/bootstrap/build/rollup.config.js index 0dfa5d48a..2d43194fe 100644 --- a/vendor/twbs/bootstrap/build/rollup.config.js +++ b/vendor/twbs/bootstrap/build/rollup.config.js @@ -2,8 +2,9 @@ const path = require('path') const babel = require('rollup-plugin-babel') -const resolve = require('rollup-plugin-node-resolve') +const resolve = require('@rollup/plugin-node-resolve') const banner = require('./banner.js') +const babelHelpers = require('./babel-helpers.js') const BUNDLE = process.env.BUNDLE === 'true' @@ -11,14 +12,10 @@ let fileDest = 'bootstrap.js' const external = ['jquery', 'popper.js'] const plugins = [ babel({ - exclude: 'node_modules/**', // Only transpile our source code - externalHelpersWhitelist: [ // Include only required helpers - 'defineProperties', - 'createClass', - 'inheritsLoose', - 'defineProperty', - 'objectSpread2' - ] + // Only transpile our source code + exclude: 'node_modules/**', + // Include only required helpers + externalHelpersWhitelist: babelHelpers }) ] const globals = { |