From 1bcd5a01c4d0552c6299cb86ccec9c1191a361fd Mon Sep 17 00:00:00 2001 From: Benji <64439681+benjitrosch@users.noreply.github.com> Date: Mon, 25 Apr 2022 15:04:22 -0400 Subject: [PATCH] fix: re-added esm output from microbundle (#106) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9bd69436..4f0d791c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "types": "./dist/index.d.ts", "scripts": { "start": "start-storybook -p 6006", - "dist": "microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react --globals react/jsx-runtime=jsx --format modern,cjs --css inline --compress false", + "dist": "microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react --globals react/jsx-runtime=jsx --format modern,cjs,esm --css inline --compress false", "docs": "build-storybook -o ./docs -s ./public --no-manager-cache", "test": "jest", "format": "prettier --write ./src",