binarycat0 commented on code in PR #151:
URL: https://github.com/apache/polaris-tools/pull/151#discussion_r2764283201


##########
console/vite.config.ts:
##########
@@ -29,4 +29,90 @@ export default defineConfig({
       "@": path.resolve(__dirname, "./src"),
     },
   },
-})
+ build: {
+    
+    cssCodeSplit: false,
+    sourcemap: false,
+    rollupOptions: {
+      output: {
+        
+        chunkFileNames: "assets/[name]-[hash].js",
+        entryFileNames: "assets/[name]-[hash].js",
+        assetFileNames: "assets/[name]-[hash][extname]",
+        
+        manualChunks: (id) => {
+          if (id.includes("node_modules")) {
+            return "vendor";
+          }
+        },
+      },
+    },
+  },
+  server: {

Review Comment:
   This part was removed in purpose by commit 
https://github.com/apache/polaris-tools/commit/6400f2678d3a09945f428986d6fb12159e4326ba#diff-89e288dad28206c4dba769912bafe2033718daf741530aebeac099ed16d740eaL35



##########
console/docker/Dockerfile:
##########
@@ -31,7 +31,7 @@ WORKDIR /app
 COPY package.json ./
 
 # Install dependencies
-RUN npm install
+RUN npm ci

Review Comment:
   Is it necessary to use install-clean instead of install?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to