From d779017865bb35092c537c6a6bbfe32ba2585826 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Mon, 27 Mar 2017 08:07:55 -0400 Subject: [PATCH] use target: { node: 4 } for buble config --- rollup/rollup.config.main.js | 9 ++------- rollup/rollup.config.ssr.js | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/rollup/rollup.config.main.js b/rollup/rollup.config.main.js index c352aefe3a0b..f0697d7b52ac 100644 --- a/rollup/rollup.config.main.js +++ b/rollup/rollup.config.main.js @@ -16,13 +16,8 @@ export default { buble({ include: 'src/**', exclude: 'src/shared/**', - transforms: { - arrow: false, - classes: false, - conciseMethodProperty: false, - templateString: false, - letConst: false, - numericLiteral: false + target: { + node: 4 } }) ], diff --git a/rollup/rollup.config.ssr.js b/rollup/rollup.config.ssr.js index 422cfbd316a7..c347b169b6a8 100644 --- a/rollup/rollup.config.ssr.js +++ b/rollup/rollup.config.ssr.js @@ -15,13 +15,8 @@ export default { buble({ include: 'src/**', exclude: 'src/shared/**', - transforms: { - arrow: false, - classes: false, - conciseMethodProperty: false, - templateString: false, - letConst: false, - numericLiteral: false + target: { + node: 4 } }) ],