From 491c2564dd31ea5a560079ba1546a890e5ddd35e Mon Sep 17 00:00:00 2001 From: hhh <1340545944@qq.com> Date: Sat, 9 Feb 2019 22:55:24 +0800 Subject: [PATCH] improve rollup config --- rollup.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 2fc09a9..1fd7be4 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -3,13 +3,6 @@ import rollupPluginBabel from "rollup-plugin-babel"; const input = 'raw/index.js'; export default [ - { - input, - output: { - format: 'esm', - file: 'dist/hyper-ui.core.js' - } - }, { input, plugins: [ @@ -20,5 +13,12 @@ export default [ name: 'HUI', file: 'dist/hyper-ui.core.umd.js' } + }, + { + input, + output: { + format: 'esm', + file: 'dist/hyper-ui.core.js' + } } ];