Split vite config

This commit is contained in:
Sidharth Vinod
2022-07-06 10:34:35 +05:30
parent 9cd19f2a81
commit 0e331a42d8
4 changed files with 159 additions and 9 deletions
+5 -4
View File
@@ -4,9 +4,9 @@
"type": "module",
"license": "MIT",
"scripts": {
"dev": "svelte-kit dev --host 0.0.0.0",
"build": "svelte-kit build",
"preview": "svelte-kit preview",
"dev": "vite dev --host 0.0.0.0",
"build": "vite build",
"preview": "vite preview",
"lint": "prettier --check --cache --plugin-search-dir=. .;eslint --ignore-path .gitignore .",
"lint:fix": "prettier --write --cache --plugin-search-dir=. .;eslint --fix --ignore-path .gitignore .",
"format": "prettier --write --cache --plugin-search-dir=. .",
@@ -49,7 +49,8 @@
"svelte-preprocess": "4.10.7",
"tailwindcss": "^3.1.4",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
"typescript": "^4.7.4",
"vite": "^2.9.13"
},
"dependencies": {
"@analytics/google-analytics": "^0.5.3",