fix: build issues

This commit is contained in:
Rogee
2025-05-14 19:21:11 +08:00
parent a8a41b8382
commit 1d19a697a6
6 changed files with 14 additions and 10 deletions

Binary file not shown.

View File

@@ -9,12 +9,12 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@tailwindcss/vite": "^4.1.4", "@tailwindcss/vite": "^4.1.6",
"@vueuse/core": "^13.1.0", "@vueuse/core": "^13.1.0",
"axios": "^1.8.4", "axios": "^1.8.4",
"pinia": "^3.0.2", "pinia": "^3.0.2",
"sha1": "^1.1.1", "sha1": "^1.1.1",
"tailwindcss": "^4.1.4", "tailwindcss": "3.4.1",
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-icons-plus": "^0.1.8", "vue-icons-plus": "^0.1.8",
"vue-router": "^4.5.0", "vue-router": "^4.5.0",
@@ -27,8 +27,8 @@
"@tailwindcss/forms": "^0.5.10", "@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16", "@tailwindcss/typography": "^0.5.16",
"@vitejs/plugin-vue": "^5.2.2", "@vitejs/plugin-vue": "^5.2.2",
"autoprefixer": "^10.4.21", "autoprefixer": "10.4.17",
"postcss": "^8.5.3", "postcss": "8.4.35",
"rollup-plugin-visualizer": "^5.14.0", "rollup-plugin-visualizer": "^5.14.0",
"terser": "^5.39.0", "terser": "^5.39.0",
"vite": "^6.3.0", "vite": "^6.3.0",

View File

@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@@ -1,6 +1,6 @@
@import "tailwindcss/preflight"; @tailwind base;
@import "tailwindcss/components"; @tailwind components;
@import "tailwindcss/utilities"; @tailwind utilities;
@layer base { @layer base {
html, body { html, body {

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
import tailwindcss from '@tailwindcss/vite';
import vue from '@vitejs/plugin-vue'; import vue from '@vitejs/plugin-vue';
import { resolve } from 'path'; import { resolve } from 'path';
import { visualizer } from 'rollup-plugin-visualizer'; import { visualizer } from 'rollup-plugin-visualizer';
@@ -8,7 +7,6 @@ import compression from 'vite-plugin-compression';
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
vue(), vue(),
tailwindcss(),
compression({ compression({
verbose: true, verbose: true,
disable: false, disable: false,