Skip to content

Commit

Permalink
🔧 Add css use img svg
Browse files Browse the repository at this point in the history
  • Loading branch information
MeganxLi committed May 28, 2024
1 parent 918224a commit ca90164
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ import { defineConfig } from 'vite'
export default defineConfig({
plugins: [
react(),
VitePluginLinaria(),
VitePluginLinaria({
include: ['**/*.{ts,tsx}'],
babelOptions: {
presets: ['@babel/preset-typescript', '@babel/preset-react'],
},
}),
],
base: 'https://MeganxLi.github.io/coffee-guide',
})

0 comments on commit ca90164

Please sign in to comment.