diff options
| -rwxr-xr-x | bun.lockb | bin | 146577 -> 151831 bytes | |||
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | svelte.config.js | 11 |
3 files changed, 12 insertions, 1 deletions
| Binary files differ diff --git a/package.json b/package.json index 764d1209..d314c257 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@types/string-similarity": "^4.0.2", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", + "autoprefixer": "^10.4.16", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-svelte": "^2.30.0", @@ -27,6 +28,7 @@ "sass": "^1.69.7", "svelte": "^4.0.5", "svelte-check": "^3.4.3", + "svelte-preprocess": "^5.1.3", "sveltekit-rate-limiter": "^0.4.2", "tslib": "^2.4.1", "typescript": "^5.0.0", diff --git a/svelte.config.js b/svelte.config.js index c378da70..111d5a6b 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,9 +1,18 @@ import adapter from '@sveltejs/adapter-vercel'; import { vitePreprocess } from '@sveltejs/kit/vite'; +import autoprefixer from 'autoprefixer'; +import sveltePreprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ const config = { - preprocess: vitePreprocess(), + preprocess: [ + vitePreprocess(), + sveltePreprocess({ + postcss: { + plugins: [autoprefixer()] + } + }) + ], kit: { adapter: adapter(), alias: { |