From aa03cd4c69f99dbe87e2e100588eb40db88ca568 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 2 Apr 2024 18:38:13 +0200 Subject: [PATCH] Add ES output to rollup configuration --- rollup.config.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rollup.config.mjs b/rollup.config.mjs index c1b1af31..57e47a3a 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -55,6 +55,11 @@ export default async () => { plugins: [terser()], name: "numbro" }, + { + file: path.resolve(outputFolder, "numbro.es.js"), + format: "es", + name: "numbro" + }, ], plugins, },