Drop attached_assets folder
Removes 7 unused PNGs (Replit-generated screenshots) plus the matching @assets Vite alias and the docker/web.Dockerfile copy step. Nothing in the source code imported from this alias. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ -31,7 +31,6 @@ export default defineConfig({
|
|||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"@": path.resolve(import.meta.dirname, "src"),
|
"@": path.resolve(import.meta.dirname, "src"),
|
||||||
"@assets": path.resolve(import.meta.dirname, "..", "..", "attached_assets"),
|
|
||||||
},
|
},
|
||||||
dedupe: ["react", "react-dom"],
|
dedupe: ["react", "react-dom"],
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 12 KiB |
@ -19,7 +19,6 @@ RUN pnpm install --frozen-lockfile
|
|||||||
FROM deps AS build
|
FROM deps AS build
|
||||||
COPY lib lib
|
COPY lib lib
|
||||||
COPY artifacts/cra-app artifacts/cra-app
|
COPY artifacts/cra-app artifacts/cra-app
|
||||||
COPY attached_assets attached_assets
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV PORT=80
|
ENV PORT=80
|
||||||
ENV BASE_PATH=/
|
ENV BASE_PATH=/
|
||||||
|
|||||||