222

parent 8fdc7081
......@@ -11,7 +11,7 @@ import legacy from '@vitejs/plugin-legacy';
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd())
const { VITE_APP_ENV, VITE_APP_BASE_URL, VITE_APP_OUTDIR_FILENAME } = env
const fileName = VITE_APP_OUTDIR_FILENAME ?? 'dist'
const fileName = VITE_APP_OUTDIR_FILENAME ?? 'dist'
return {
base: VITE_APP_BASE_URL,
plugins: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment