Skip to content

Commit

Permalink
fix production build
Browse files Browse the repository at this point in the history
  • Loading branch information
inetol committed Nov 2, 2024
1 parent 97aef09 commit 6405035
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,18 @@
"@solid-primitives/scheduled": "~1.4.4",
"@solid-primitives/storage": "~4.2.1",
"@tabler/icons-solidjs": "~3.21.0",
"@tailwindcss/vite": "4.0.0-alpha.31",
"@tailwindcss/postcss": "4.0.0-alpha.31",
"@types/bun": "~1.1.12",
"@types/node": "~22.8.6",
"@uiw/codemirror-extensions-hyper-link": "~4.23.6",
"@uiw/codemirror-themes": "~4.23.6",
"daisyui": "5.0.0-alpha.36",
"env-var": "~7.5.0",
"hono": "~4.6.8",
"postcss": "~8.4.47",
"solid-js": "~1.9.3",
"tailwindcss": "4.0.0-alpha.31",
"terser": "~5.36.0",
"typescript": "~5.6.3",
"vike": "~0.4.199",
"vike-solid": "~0.7.6",
Expand Down
5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
plugins: {
'@tailwindcss/postcss': {}
}
};
5 changes: 2 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { resolve } from 'node:path';
import tailwindcss from '@tailwindcss/vite';
import solid from 'vike-solid/vite';
import vike from 'vike/plugin';
import type { UserConfig } from 'vite';

export default {
build: {
reportCompressedSize: false
reportCompressedSize: false,
minify: 'terser'
},
resolve: {
alias: {
Expand All @@ -17,7 +17,6 @@ export default {
}
},
plugins: [
tailwindcss(),
solid(),
vike({
redirects: {
Expand Down

0 comments on commit 6405035

Please sign in to comment.