Skip to content

Commit

Permalink
Fixed vite build getting stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
jacokok committed Nov 9, 2022
1 parent a4a462f commit 1668bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build --mode development",
"preview": "vite build --mode development & vite preview --host",
"watch": "vite build --mode development --watch",
"preview": "vite build --mode development --watch & vite preview --host",
"ha": "docker run --rm -p 8123:8123 -v ${PWD}/.hass_dev:/config:Z homeassistant/home-assistant:latest"
},
"dependencies": {
Expand Down
3 changes: 0 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@ export default defineConfig({
entryFileNames: "[name].js",
},
},

watch: {},
minify: false,
},
});

0 comments on commit 1668bf2

Please sign in to comment.