From 9ec99fa505dbd65d0a91b9186f26d716d067eb52 Mon Sep 17 00:00:00 2001 From: xobotyi Date: Wed, 4 Mar 2020 11:46:56 +0300 Subject: [PATCH] fix: fix build; --- rollup.config.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 6df634b..ec008fc 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,14 +8,10 @@ export default { { file: pkg.module, format: 'es', - exports: 'named', }, { file: pkg.main, - format: 'umd', - name: 'of', - sourcemap: true, - exports: 'named', + format: 'cjs', }, ], @@ -25,7 +21,7 @@ export default { tsconfigOverride: { compilerOptions: { module: 'esnext', - target: 'esnext', + target: 'es5', declaration: true, }, },