diff --git a/console/Makefile b/console/Makefile index 7373ad32..4c2ace25 100644 --- a/console/Makefile +++ b/console/Makefile @@ -10,7 +10,7 @@ build-docker: .PHONY: install install: - npm install + npm ci .PHONY: lint lint: format-check diff --git a/console/docker/Dockerfile b/console/docker/Dockerfile index 4cf896a1..75229f95 100644 --- a/console/docker/Dockerfile +++ b/console/docker/Dockerfile @@ -28,10 +28,10 @@ ENV VITE_POLARIS_REALM_HEADER_NAME=Polaris-Realm WORKDIR /app # Copy package files -COPY package.json ./ +COPY package.json package-lock.json ./ # Install dependencies -RUN npm install +RUN npm ci # Copy source code (excluding docker directory via .dockerignore) COPY . . diff --git a/console/vite.config.ts b/console/vite.config.ts index d9782d24..6ee011f6 100644 --- a/console/vite.config.ts +++ b/console/vite.config.ts @@ -29,4 +29,8 @@ export default defineConfig({ "@": path.resolve(__dirname, "./src"), }, }, + build: { + cssCodeSplit: false, + sourcemap: false, + }, })