Upgrade to Vite 5

Also overrides rollup version to 4.5.1
This commit is contained in:
Lim Chee Aun 2023-11-23 16:57:16 +08:00
parent 6553ae0b6e
commit b74f6b3168
2 changed files with 815 additions and 6634 deletions

7436
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -44,16 +44,16 @@
"valtio": "1.9.0"
},
"devDependencies": {
"@preact/preset-vite": "~2.6.0",
"@preact/preset-vite": "~2.7.0",
"@trivago/prettier-plugin-sort-imports": "~4.3.0",
"postcss": "~8.4.31",
"postcss-dark-theme-class": "~1.0.0",
"postcss-preset-env": "~9.3.0",
"twitter-text": "~3.1.0",
"vite": "~4.5.0",
"vite-plugin-generate-file": "~0.0.4",
"vite": "~5.0.2",
"vite-plugin-generate-file": "~0.1.1",
"vite-plugin-html-config": "~1.0.11",
"vite-plugin-pwa": "~0.16.7",
"vite-plugin-pwa": "~0.17.0",
"vite-plugin-remove-console": "~2.1.1",
"workbox-cacheable-response": "~7.0.0",
"workbox-expiration": "~7.0.0",
@ -70,6 +70,11 @@
}
}
},
"overrides": {
"vite": {
"rollup": ">=4.5.1"
}
},
"browserslist": [
"defaults",
"android >= 4"