fix tailwind
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
"@atproto/lex": "^0.3.0",
|
"@atproto/lex": "^0.3.0",
|
||||||
"@atproto/syntax": "^0.7.2",
|
"@atproto/syntax": "^0.7.2",
|
||||||
"@bsky.app/sdk": "npm:bsky-sdk-preview@0.0.1-preview.1",
|
"@bsky.app/sdk": "npm:bsky-sdk-preview@0.0.1-preview.1",
|
||||||
"@tailwindcss/vite": "^4.3.2",
|
|
||||||
"preact": "^10.29.7"
|
"preact": "^10.29.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -33,7 +32,7 @@
|
|||||||
"postcss": "^8.5.19",
|
"postcss": "^8.5.19",
|
||||||
"prettier": "^3.9.5",
|
"prettier": "^3.9.5",
|
||||||
"serve": "^14.2.6",
|
"serve": "^14.2.6",
|
||||||
"tailwindcss": "^4.3.2",
|
"tailwindcss": "^3.4.19",
|
||||||
"terser": "^5.49.0",
|
"terser": "^5.49.0",
|
||||||
"typescript": "^6.0.3",
|
"typescript": "^6.0.3",
|
||||||
"typescript-eslint": "^8.64.0",
|
"typescript-eslint": "^8.64.0",
|
||||||
|
|||||||
Generated
+457
-248
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
|||||||
|
export default {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -2,7 +2,6 @@ import fs from 'node:fs'
|
|||||||
import {resolve} from 'node:path'
|
import {resolve} from 'node:path'
|
||||||
|
|
||||||
import {preact} from '@preact/preset-vite'
|
import {preact} from '@preact/preset-vite'
|
||||||
import tailwindcss from '@tailwindcss/vite'
|
|
||||||
import legacy from '@vitejs/plugin-legacy'
|
import legacy from '@vitejs/plugin-legacy'
|
||||||
import type {Plugin, UserConfig} from 'vite'
|
import type {Plugin, UserConfig} from 'vite'
|
||||||
import {analyzer} from 'vite-bundle-analyzer'
|
import {analyzer} from 'vite-bundle-analyzer'
|
||||||
@@ -39,7 +38,6 @@ function devOnlyRouter(): Plugin {
|
|||||||
const config: UserConfig = {
|
const config: UserConfig = {
|
||||||
plugins: [
|
plugins: [
|
||||||
preact(),
|
preact(),
|
||||||
tailwindcss(),
|
|
||||||
legacy({
|
legacy({
|
||||||
targets: ['defaults', 'not IE 11'],
|
targets: ['defaults', 'not IE 11'],
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user