From afb4b885622fa561578ec0df20324ce09f638823 Mon Sep 17 00:00:00 2001 From: Christian Kaisermann Date: Sat, 14 Oct 2023 12:11:05 +0200 Subject: [PATCH] chore: remove cjs output --- rollup.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 00bdd24..39f3026 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -18,10 +18,7 @@ export default [ // bundle runtime { input: 'src/runtime/index.ts', - output: [ - { file: pkg.main, format: 'es' }, - { file: pkg.exports.require, format: 'cjs' }, - ], + output: [{ file: pkg.main, format: 'es' }], external, plugins: [commonjs(), autoExternal(), esbuild()], },