diff options
| author | Fuwn <[email protected]> | 2024-01-12 08:09:00 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-12 08:09:00 -0800 |
| commit | 81f2cf27af91519e0e0356c3ed6527d2240f30e1 (patch) | |
| tree | 1aa5b6afe952e401c1fc49a6ee44722e84fd72e3 /svelte.config.js | |
| parent | fix: restrict breaks for layouts (diff) | |
| download | due.moe-81f2cf27af91519e0e0356c3ed6527d2240f30e1.tar.xz due.moe-81f2cf27af91519e0e0356c3ed6527d2240f30e1.zip | |
feat(css): autoprefixer
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 11 |
1 files changed, 10 insertions, 1 deletions
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: { |