From d1ebe73a759cb006fd03bea0b41d119b188b4090 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Wed, 18 Aug 2021 01:11:40 +0700 Subject: [PATCH] build: using mjs extension to fix compatibility --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 9dc9b09..1297eab 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,7 +8,7 @@ export default { format: 'cjs', }, { - file: 'dist/index.js', + file: 'dist/index.mjs', format: 'esm', }, ],