Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix: update build process to ensure clean output for web app

Amruth Pillai2e04e71f4a58
diff --git a/Dockerfile b/Dockerfile
index 9b151cc11..a30922c5c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,7 +25,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store,sharing=locked \
pnpm install --frozen-lockfile
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
COPY . .
diff --git a/apps/web/package.json b/apps/web/package.json
index 6e49132ee..b2f0fd7e4 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -4,7 +4,7 @@
"type": "module",
"private": true,
"scripts": {
- "build": "vite build",
+ "build": "rm -rf .output && vite build",
"dev": "vite dev",
"serve": "vite preview",
"start": "node .output/server/index.mjs",
diff --git a/packages/ui/src/styles/globals.css b/packages/ui/src/styles/globals.css
index 55c60daff..61f586f68 100644
--- a/packages/ui/src/styles/globals.css
+++ b/packages/ui/src/styles/globals.css
@@ -1,4 +1,4 @@
-@import "tailwindcss";
+@import "tailwindcss" source(none);
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@import "@fontsource-variable/ibm-plex-sans";
@@ -6,8 +6,8 @@
@plugin "@tailwindcss/typography";
-@source "../../../apps/**/*.{ts,tsx}";
@source "../**/*.{ts,tsx}";
+@source "../../../apps/**/*.{ts,tsx}";
@custom-variant dark (&:is(.dark *));