diff --git a/apps/calendar/apps/web/Dockerfile b/apps/calendar/apps/web/Dockerfile index 97072c39f..059900270 100644 --- a/apps/calendar/apps/web/Dockerfile +++ b/apps/calendar/apps/web/Dockerfile @@ -50,6 +50,9 @@ COPY apps/calendar/apps/web ./apps/calendar/apps/web RUN pnpm install --frozen-lockfile # Build shared packages that need building +WORKDIR /app/packages/shared-vite-config +RUN pnpm build + WORKDIR /app/packages/shared-auth RUN pnpm build || true diff --git a/packages/shared-vite-config/package.json b/packages/shared-vite-config/package.json index 58262b43c..146c37f41 100644 --- a/packages/shared-vite-config/package.json +++ b/packages/shared-vite-config/package.json @@ -3,12 +3,16 @@ "version": "1.0.0", "private": true, "type": "module", - "main": "./src/index.ts", - "types": "./src/index.ts", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", "exports": { - ".": "./src/index.ts" + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + } }, "scripts": { + "build": "tsc", "type-check": "tsc --noEmit" }, "devDependencies": {