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, }, },