From 5834faecbe26f5859a625a0c644528f98e5e1414 Mon Sep 17 00:00:00 2001 From: Mohammad Hasani Date: Sat, 19 Jan 2019 01:35:58 +0330 Subject: [PATCH] chore: fix rollup config typo and add resolve plugin to package bundles --- rollup.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index d4343b1..de0f81f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -14,11 +14,11 @@ export default [ }, { input: './tmp/index.js', - externals: ['tslib'], + external: ['tslib'], output: [ { file: pkg.module, format: 'es' }, { file: pkg.main, format: 'cjs' }, ], - plugins: [filesize()], + plugins: [resolve(), filesize()], }, ]