From 101126fb02e67114ab75a36570a793a6ea299316 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Mon, 23 Sep 2024 02:10:30 -0700 Subject: [PATCH] Try ESM --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 2672e55..0a3b717 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -12,7 +12,7 @@ const names = await fs.readdir(path.resolve(root, "lib/entry")) export default names.map((name) => ({ input: path.resolve(root, "lib/entry", name), output: { - format: "cjs", + format: "esm", file: path.resolve(root, "dist", name), inlineDynamicImports: true, },