From 0c1c04cbc9e0388230bd3632ee4a23db0cd0bece Mon Sep 17 00:00:00 2001 From: Andreas Tzionis Date: Sat, 16 Dec 2023 11:07:03 +0200 Subject: [PATCH] switched to esm --- lib/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rollup.config.js b/lib/rollup.config.js index 378d7b40..77e48787 100644 --- a/lib/rollup.config.js +++ b/lib/rollup.config.js @@ -9,7 +9,7 @@ import autoprefixer from 'autoprefixer' const browserConfig = { input: 'client/index.tsx', - output: [{ dir: 'build/browser', format: 'cjs' }], + output: [{ dir: 'build/browser', format: 'esm' }], // TODO preserveModules: true onwarn(warning, rollupWarn) { if (warning.code !== 'CIRCULAR_DEPENDENCY') { rollupWarn(warning)