Files
QuantEngineByItz/oms-wms-erp/vite.config.ts
T
kjh2064 b34b0dd7d6
Validators (Pushes and Pull Requests) / UI & Storage Validation (pull_request) Failing after 12s
Validators (Pushes and Pull Requests) / Database & Schema Validation (pull_request) Successful in 13s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (pull_request) Failing after 28s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (pull_request) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (pull_request) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (pull_request) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (pull_request) Has been skipped
Validators (Pushes and Pull Requests) / CI Workflow Lint (pull_request) Failing after 10s
Validators (Pushes and Pull Requests) / Security & Secrets (pull_request) Successful in 12s
Validators (Pushes and Pull Requests) / Notify PR Results (pull_request) Successful in 2s
Frontend CI Pipeline / ci-frontend-8-steps (pull_request) Failing after 2m50s
Add OMS WMS ERP platform
2026-07-27 00:45:39 +09:00

46 lines
932 B
TypeScript

import { defineConfig } from "vite"
import vue from "@vitejs/plugin-vue"
import path from "path"
import { visualizer } from "rollup-plugin-visualizer"
export default defineConfig({
plugins: [
vue(),
visualizer({
open: false,
gzipSize: true,
brotliSize: true,
filename: "dist/stats.html"
})
],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src")
}
},
build: {
outDir: "dist",
sourcemap: false,
minify: "esbuild",
rollupOptions: {
output: {
manualChunks: {
vendor: ["vue", "vue-router", "pinia", "axios"]
}
}
},
reportCompressedSize: true,
chunkSizeWarningLimit: 500
},
server: {
port: 5173,
proxy: {
"/api": {
target: process.env.VITE_API_URL || "http://localhost:3000",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, "")
}
}
}
})