Skip to content

Commit

Permalink
Fix main field not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
elct9620 committed Nov 23, 2023
1 parent dc9cd17 commit 073253f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "vite",
"preview": "yarn build && wrangler pages dev dist",
"build": "vue-tsc && yarn build:ui && yarn build:worker",
"build:worker": "esbuild worker/index.ts --bundle --platform=neutral --outfile=dist/_worker.js",
"build:worker": "esbuild worker/index.ts --bundle --platform=neutral --main-fields=main --outfile=dist/_worker.js",
"build:ui": "vite build",
"unit:test": "vitest run --no-threads",
"unit:test:ui": "vitest --ui --no-threads",
Expand Down

0 comments on commit 073253f

Please sign in to comment.