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