From 069cc18cbf4d7c39002957c0b82db9963747515c Mon Sep 17 00:00:00 2001 From: AT Date: Sun, 16 Apr 2023 21:10:29 +0200 Subject: [PATCH] changed compile format fro cjs to es --- rollup.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 9056184e..8f0c0f36 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -7,8 +7,8 @@ export default { input: 'src/index.tsx', output: [ { - file: pkg.main, - format: 'cjs', + file: 'dist/index.js', + format: 'es', exports: 'named', sourcemap: true, strict: false