环境变量测试
All checks were successful
CI / Docker-Build (push) Successful in 2m28s

This commit is contained in:
joylink_fanyuhong 2024-04-02 19:53:26 +08:00
parent 9b0329787a
commit dacf2650f6

View File

@ -7,7 +7,7 @@
// Configuration for your app
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
require('dotenv').config()
require('dotenv').config();
const { configure } = require('quasar/wrappers');
const BasePath = 'bjrtss';
@ -55,6 +55,7 @@ module.exports = configure(function (/* ctx */) {
env: {
// test:测试服务器publish正式服务器其他本地
ENV_MODE: process.env.NODE_ENV,
API_URL: process.env.API_URL,
},
target: {
browser: ['es2020'],