From 0eee8208fae96ca004f1ea2b1837f47ffd7dd813 Mon Sep 17 00:00:00 2001 From: mkosir Date: Sun, 21 Jan 2024 10:59:01 +0100 Subject: [PATCH] fix(deps): update dependencies --- rollup.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rollup.config.ts b/rollup.config.ts index 14907262..99a71e49 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -29,8 +29,7 @@ const LEGACY_CONFIG = [ }, { file: packageJson.main, - name: packageJson.name, - format: 'umd', + format: 'cjs', sourcemap: !IS_PRODUCTION, globals: GLOBALS, }, @@ -81,8 +80,7 @@ const MODERN_CONFIG = [ }, { file: packageJson.exports.require.default, - name: packageJson.name, - format: 'umd', + format: 'cjs', sourcemap: !IS_PRODUCTION, globals: GLOBALS, },