Update vue na 3.4

This commit is contained in:
Michal Kváček
2024-05-09 13:31:50 +02:00
parent 3c51631bcd
commit 8cc1746be7
4 changed files with 78 additions and 128 deletions
+2 -11
View File
@@ -56,7 +56,7 @@ 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'],
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
node: 'node20'
},
@@ -80,16 +80,7 @@ module.exports = configure(function (ctx) {
minify: true,
// polyfillModulePreload: true,
// distDir
// extendViteConf(viteConf, {isServer}) {
// viteConf.define = {
// __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false,
// 'globalThis.process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV),
// 'globalThis.process.env.API_URL': JSON.stringify(process.env.API_URL),
// 'globalThis.process.env.GOOGLE_MAPS_API_KEY': JSON.stringify(process.env.GOOGLE_MAPS_API_KEY),
// 'globalThis.process.env.SERVER': JSON.stringify(isServer),
// };
// },
// extendViteConf(viteConf, {isServer}) {},
// viteVuePluginOptions: {},
// vitePlugins: []