diff options
Diffstat (limited to 'build/build-plugins.js')
-rw-r--r-- | build/build-plugins.js | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/build/build-plugins.js b/build/build-plugins.js index 47527ed7b6..30c2c80179 100644 --- a/build/build-plugins.js +++ b/build/build-plugins.js @@ -11,21 +11,14 @@ const path = require('path') const rollup = require('rollup') const babel = require('rollup-plugin-babel') const banner = require('./banner.js') +const babelHelpers = require('./babel-helpers.js') const plugins = [ babel({ // Only transpile our source code exclude: 'node_modules/**', // Include only required helpers - externalHelpersWhitelist: [ - 'createClass', - 'createSuper', - 'defineProperties', - 'defineProperty', - 'getPrototypeOf', - 'inheritsLoose', - 'objectSpread2' - ] + externalHelpersWhitelist: babelHelpers }) ] const bsPlugins = { |