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 c352aefe3a..f0697d7b52 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 422cfbd316..c347b169b6 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 } }) ],