Skip to content

Commit

Permalink
Merge pull request #11 from imbhargav5/10-styles-are-not-loaded-in-pr…
Browse files Browse the repository at this point in the history
…oduction

fix(tailwindcss): production build
  • Loading branch information
imbhargav5 authored Feb 14, 2023
2 parents c7d3e1f + 5872cf3 commit b759d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"author": "Bhargav Ponnapalli <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "concurrently \"next dev \" \"tailwindcss-cli --input ./src/app/globals.css --output ./src/app/output.css --watch\"",
"dev": "next dev",
"start": "next start",
"generate:types:local": "export $(cat .env.local | xargs) && supabase gen types typescript --project-id ${SUPABASE_PROJECT_REF} --schema public > src/lib/database.types.ts",
"build": "tailwindcss -i ./src/app/globals.css --output ./src/app/output.css && next build",
"build": "next build",
"test:e2e": "playwright test",
"test": "vitest --root src --run",
"test:watch": "vitest --root src",
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ClientLayout } from './ClientLayout';
import './output.css';
import './globals.css';
// do not cache this layout
export const revalidate = 0;

Expand Down

0 comments on commit b759d90

Please sign in to comment.