Skip to content

Commit 988286f

Browse files
author
Andrey Okonetchnikov
committed
chore: Only compile CJS and ESM in dev mode
1 parent 85234a5 commit 988286f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"scripts": {
2222
"prepublish": "npm run build",
2323
"build": "microbundle --jsx react",
24-
"dev": "microbundle watch --jsx react --no-compress",
24+
"dev": "microbundle watch --jsx react --no-compress --format es,cjs",
2525
"lint": "eslint . --cache --fix",
2626
"format": "prettier --write \"**/*.{js,css,md}\"",
2727
"gql:schema": "API_HOST=http://localhost:3001 node ./scripts/generate-introspection-json.js"

0 commit comments

Comments
 (0)