Skip to content

Commit 6c12f29

Browse files
Fix web worker not loading
1 parent cf19fde commit 6c12f29

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
@@ -6,7 +6,7 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc && vite build && pnpm run postbuild",
9-
"postbuild": "sed -i 's/\\/assets/assets/g' dist/index.html",
9+
"postbuild": "grep -rl '/assets' | xargs sed -i 's/\\/assets/assets/g'",
1010
"preview": "vite preview",
1111
"build:js": "tsc -p tsconfig.build.json"
1212
},

0 commit comments

Comments
 (0)