From faf7ef7805471b07713d87b84711fdd31841f810 Mon Sep 17 00:00:00 2001 From: Graeme Houston Date: Mon, 3 Feb 2025 18:54:42 +0000 Subject: [PATCH] fix: cjs rollup config --- rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 690d6f8..85cc621 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -26,8 +26,9 @@ export default [ ...baseConfig, output: { file: 'dist/index.js', - format: 'esm', + format: 'cjs', sourcemap: true, + exports: 'named', }, plugins: [ resolve({ extensions }),