FitTrackee/fittrackee_client/vue.config.js

39 lines
818 B
JavaScript
Raw Normal View History

2021-08-04 09:23:07 +02:00
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require('path')
2022-02-19 22:50:01 +01:00
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
2021-08-04 09:23:07 +02:00
configureWebpack: {
performance: {
maxEntrypointSize: 400000,
maxAssetSize: 500000,
},
},
chainWebpack: (config) => {
config.plugin('html').tap((args) => {
args[0].title = 'FitTrackee'
return args
})
},
2021-08-04 16:01:14 +02:00
publicPath: '/',
outputDir: path.resolve(__dirname, '../fittrackee/dist/'),
assetsDir: 'static',
2021-08-04 09:26:49 +02:00
pluginOptions: {
i18n: {
locale: 'en',
fallbackLocale: 'en',
localeDir: 'locales',
enableLegacy: false,
runtimeOnly: false,
compositionOnly: false,
fullInstall: true,
},
},
2022-02-19 22:50:01 +01:00
pwa: {
iconPaths: {
faviconSVG: null,
},
},
})