From f17b165f0fa2ff7b9537cfc368796aa92ae91139 Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Sun, 17 Sep 2017 02:40:48 -0400 Subject: Babel 7 (#23966) * use .babelrc.js, compile bundled/non-bundled with loose mode * add back helper, exclude typeof transform --- build/rollup.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'build') diff --git a/build/rollup.config.js b/build/rollup.config.js index d6eb0cf5d..47e302b78 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -11,11 +11,9 @@ const plugins = [ babel({ exclude: 'node_modules/**', // only transpile our source code externalHelpersWhitelist: [ // include only required helpers - 'typeof', - 'classCallCheck', + 'defineProperties', 'createClass', - 'inherits', - 'possibleConstructorReturn' + 'inheritsLoose' ] }) ] -- cgit v1.2.3