Skip to content

Commit f30d5fb

Browse files
committed
Fix prod build error in client
1 parent 9ebf9e2 commit f30d5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/site-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"clean": "if-file-deleted"
3434
},
3535
"build:prod": {
36-
"command": "esbuild --color --outdir=bundled --bundle --splitting --minify src/entrypoints/*.ts",
36+
"command": "esbuild --color --outdir=bundled --format=esm --bundle --splitting --minify src/entrypoints/*.ts",
3737
"files": [
3838
"src/**/*.ts"
3939
],

0 commit comments

Comments
 (0)