Обновил пакеты, включил polyfill для популярных версий браузеров
This commit is contained in:
parent
5822e64c84
commit
d79d323f17
4 changed files with 2801 additions and 755 deletions
3486
package-lock.json
generated
3486
package-lock.json
generated
File diff suppressed because it is too large
Load diff
45
package.json
45
package.json
|
|
@ -11,35 +11,36 @@
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify/svelte": "^4.2.0",
|
"@iconify/svelte": "^5.1.0",
|
||||||
"@react2svelte/swipeable": "^0.1.4",
|
"@react2svelte/swipeable": "^0.1.4",
|
||||||
"@svelte-put/dragscroll": "^4.0.0",
|
"@svelte-put/dragscroll": "^4.0.0",
|
||||||
"@sveltejs/adapter-auto": "^4.0.0",
|
"@sveltejs/adapter-auto": "^7.0.0",
|
||||||
"@sveltejs/adapter-static": "^3.0.8",
|
"@sveltejs/adapter-static": "^3.0.10",
|
||||||
"@sveltejs/kit": "^2.17.3",
|
"@sveltejs/kit": "^2.49.0",
|
||||||
"@tailwindcss/typography": "^0.5.16",
|
"@tailwindcss/typography": "^0.5.19",
|
||||||
"@tailwindcss/vite": "^4.0.9",
|
"@tailwindcss/vite": "^4.1.17",
|
||||||
"@types/node": "^22.13.5",
|
"@types/node": "^24.10.1",
|
||||||
"autoprefixer": "^10.4.20",
|
"@vitejs/plugin-legacy": "^7.2.1",
|
||||||
"eslint": "^9.21.0",
|
"autoprefixer": "^10.4.22",
|
||||||
"eslint-config-prettier": "^10.0.1",
|
"eslint": "^9.39.1",
|
||||||
"eslint-plugin-svelte": "^3.0.0",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
|
"eslint-plugin-svelte": "^3.13.0",
|
||||||
"mdsvex": "^0.12.6",
|
"mdsvex": "^0.12.6",
|
||||||
"mdsvex-relative-images": "^1.0.3",
|
"mdsvex-relative-images": "^2.0.0",
|
||||||
"postcss": "^8.5.3",
|
"postcss": "^8.5.6",
|
||||||
"prettier": "^3.5.2",
|
"prettier": "^3.6.2",
|
||||||
"prettier-plugin-svelte": "^3.3.3",
|
"prettier-plugin-svelte": "^3.4.0",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
||||||
"svelte": "^5.20.4",
|
"svelte": "^5.45.1",
|
||||||
"svelte-check": "^4.1.4",
|
"svelte-check": "^4.3.4",
|
||||||
"svelte-disable-preload": "^0.0.3",
|
"svelte-disable-preload": "^0.0.3",
|
||||||
"svelte-resize-observer-action": "^0.0.4",
|
"svelte-resize-observer-action": "^0.0.4",
|
||||||
"svelte-sitemap": "^2.7.0",
|
"svelte-sitemap": "^2.7.1",
|
||||||
"sveltekit-autoimport": "^1.8.1",
|
"sveltekit-autoimport": "^1.8.2",
|
||||||
"tailwindcss": "^4.0.9",
|
"tailwindcss": "^4.0.9",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"typescript": "^5.7.3",
|
"typescript": "^5.9.3",
|
||||||
"vite": "^6.2.0"
|
"vite": "^7.2.4"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
import { sveltekit } from '@sveltejs/kit/vite';
|
|
||||||
import tailwindcss from "@tailwindcss/vite";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
plugins: [
|
|
||||||
sveltekit(),
|
|
||||||
tailwindcss()
|
|
||||||
]
|
|
||||||
};
|
|
||||||
16
vite.config.ts
Normal file
16
vite.config.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
|
import tailwindcss from "@tailwindcss/vite";
|
||||||
|
import type { UserConfig } from 'vite';
|
||||||
|
import legacy from '@vitejs/plugin-legacy';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
plugins: [
|
||||||
|
sveltekit(),
|
||||||
|
tailwindcss(),
|
||||||
|
legacy({
|
||||||
|
targets: 'defaults',
|
||||||
|
modernPolyfills: true,
|
||||||
|
renderLegacyChunks: false
|
||||||
|
})
|
||||||
|
]
|
||||||
|
} satisfies UserConfig;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue