diff options
Diffstat (limited to 'build/rollup.config.js')
-rw-r--r-- | build/rollup.config.js | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/build/rollup.config.js b/build/rollup.config.js index e2819f8c04..d02acb5366 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,18 +1,20 @@ 'use strict' -const path = require('path') -const babel = require('rollup-plugin-babel') +const path = require('path') +const babel = require('rollup-plugin-babel') const resolve = require('rollup-plugin-node-resolve') -const banner = require('./banner.js') +const banner = require('./banner.js') -const BUNDLE = process.env.BUNDLE === 'true' +const BUNDLE = process.env.BUNDLE === 'true' -let fileDest = 'bootstrap.js' +let fileDest = 'bootstrap.js' const external = ['popper.js'] const plugins = [ babel({ - exclude: 'node_modules/**', // Only transpile our source code - externalHelpersWhitelist: [ // Include only required helpers + // Only transpile our source code + exclude: 'node_modules/**', + // Include only required helpers + externalHelpersWhitelist: [ 'defineProperties', 'createClass', 'inheritsLoose', |