Skip to content

Commit a3d7b71

Browse files
committed
Vite workaroud. See: vitejs/vite#2892
1 parent 8b2376b commit a3d7b71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"dev": "svelte-kit dev",
66
"build": "svelte-kit build",
77
"start": "svelte-kit start",
8-
"prepare": "npm run smui-theme-light && npm run smui-theme-dark",
8+
"prepare": "npm run vite-workaround && npm run smui-theme-light && npm run smui-theme-dark",
9+
"vite-workaround": "find node_modules/@material/ -name \"*.js.map\" -type f -delete",
910
"smui-theme-light": "sass --no-source-map -I src/theme -I node_modules src/app.scss static/smui.css",
1011
"smui-theme-dark": "sass --no-source-map -I src/theme/dark -I node_modules src/app.scss static/smui-dark.css"
1112
},

0 commit comments

Comments
 (0)