Skip to content

Commit

Permalink
fix: πŸ› update unocss config
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Sep 9, 2023
1 parent 67878c7 commit 1be5475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { SvelteKitPWA } from '@vite-pwa/sveltekit'
// postcss & tailwindcss
import TailwindCSS from 'tailwindcss'
import tailwindConfig from './tailwind.config'
// @ts-expect-error
// @ts-expect-error ts(7016)
import LightningCSS from 'postcss-lightningcss'

export default defineConfig({
Expand All @@ -28,7 +28,7 @@ export default defineConfig({
},
plugins: [
UnoCSS({
include: [/\.svelte$/, /\.md?$/, /\.ts$/],
content: { pipeline: { include: [/\.svelte$/, /\.md?$/, /\.ts$/] } },
extractors: [extractorSvelte],
presets: [
presetTagify({
Expand Down

0 comments on commit 1be5475

Please sign in to comment.