mirror of
https://github.com/R0m1k3/FlowReader.git
synced 2026-10-16 11:46:56 +02:00
fix(build): migrate to @tailwindcss/vite and remove conflicting postcss config
This commit is contained in:
1 parent
43f011e3a6
commit
28cd42f207
4 files changed
+20
-7
No files matched your search
@@ -1,11 +1,13 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
tailwindcss(),
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
includeAssets: ['favicon.svg', 'robots.txt', 'apple-touch-icon.png'],
|
||||
|
||||
Reference in new issue
Block a user