mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-27 10:24:48 +10:00
fix: update build process to ensure clean output for web app
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store,sharing=locked \
|
|||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
|
|
||||||
COPY --from=pruner /app/out/full/ ./
|
COPY --from=pruner /app/out/full/ ./
|
||||||
RUN pnpm turbo run build --filter=web
|
RUN rm -rf apps/web/.output && pnpm turbo run build --filter=web --force
|
||||||
|
|
||||||
FROM base AS runtime-pruner
|
FROM base AS runtime-pruner
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "rm -rf .output && vite build",
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"start": "node .output/server/index.mjs",
|
"start": "node .output/server/index.mjs",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss" source(none);
|
||||||
@import "tw-animate-css";
|
@import "tw-animate-css";
|
||||||
@import "shadcn/tailwind.css";
|
@import "shadcn/tailwind.css";
|
||||||
@import "@fontsource-variable/ibm-plex-sans";
|
@import "@fontsource-variable/ibm-plex-sans";
|
||||||
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
@plugin "@tailwindcss/typography";
|
@plugin "@tailwindcss/typography";
|
||||||
|
|
||||||
@source "../../../apps/**/*.{ts,tsx}";
|
|
||||||
@source "../**/*.{ts,tsx}";
|
@source "../**/*.{ts,tsx}";
|
||||||
|
@source "../../../apps/**/*.{ts,tsx}";
|
||||||
|
|
||||||
@custom-variant dark (&:is(.dark *));
|
@custom-variant dark (&:is(.dark *));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user