From 2ed0c158174cb27496a8b443b5f3dff4d3e1e917 Mon Sep 17 00:00:00 2001 From: Christian Kaisermann Date: Sat, 14 Oct 2023 12:07:57 +0200 Subject: [PATCH] chore: export CLI as esm --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index e5b88d7..00bdd24 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -38,7 +38,7 @@ export default [ { file: pkg.bin['svelte-i18n'], name: 'cli.js', - format: 'cjs', + format: 'es', banner: `#!/usr/bin/env node`, }, ],