Browse Source

Merge branch 'development' of github.com:visuddhinanda/mint into development

visuddhinanda 2 weeks ago
parent
commit
bbec69b07f
2 changed files with 13 additions and 0 deletions
  1. 1 0
      api-v13/package.json
  2. 12 0
      dashboard-v6/vite.config.ts

+ 1 - 0
api-v13/package.json

@@ -51,6 +51,7 @@
         "jsdom": "^29.1.1",
         "laravel-vite-plugin": "^3.0.0",
         "marked": "^18.0.4",
+        "qrcode": "^1.5.4",
         "react": "^19.2.0",
         "react-dom": "^19.2.0",
         "tailwind-merge": "^3.0.1",

+ 12 - 0
dashboard-v6/vite.config.ts

@@ -11,5 +11,17 @@ export default defineConfig({
       "/api": "http://127.0.0.1:8000",
     },
   },
+  build: {
+    chunkSizeWarningLimit: 1000,
+    rollupOptions: {
+      output: {
+        manualChunks(id) {
+          if (id.includes("node_modules")) {
+            return "vendor";
+          }
+        },
+      },
+    },
+  },
   plugins: [react()],
 });