From 7f3e910e9c37a4886e3b4dff63e1526e9d4e1533 Mon Sep 17 00:00:00 2001 From: liwenqiang Date: Sun, 4 Aug 2024 17:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0build=20target=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quasar.config.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quasar.config.cjs b/quasar.config.cjs index b4c42bb..85a391c 100644 --- a/quasar.config.cjs +++ b/quasar.config.cjs @@ -57,8 +57,8 @@ module.exports = configure(function (ctx) { // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build build: { target: { - browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'], - node: 'node18' + browser: ['es2022', 'edge88', 'firefox115', 'chrome115', 'safari14'], + node: 'node20' }, vueRouterMode: 'history', // available values: 'hash', 'history' @@ -74,7 +74,7 @@ module.exports = configure(function (ctx) { env: { API: ctx.dev ? '/api' - : 'https://console.leafage.top/api' + : 'https://api.leafage.top/v1' }, rawDefine: {