39 lines
818 B
JavaScript
39 lines
818 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
const path = require('path')
|
|
|
|
const { defineConfig } = require('@vue/cli-service')
|
|
|
|
module.exports = defineConfig({
|
|
configureWebpack: {
|
|
performance: {
|
|
maxEntrypointSize: 400000,
|
|
maxAssetSize: 500000,
|
|
},
|
|
},
|
|
chainWebpack: (config) => {
|
|
config.plugin('html').tap((args) => {
|
|
args[0].title = 'FitTrackee'
|
|
return args
|
|
})
|
|
},
|
|
publicPath: '/',
|
|
outputDir: path.resolve(__dirname, '../fittrackee/dist/'),
|
|
assetsDir: 'static',
|
|
pluginOptions: {
|
|
i18n: {
|
|
locale: 'en',
|
|
fallbackLocale: 'en',
|
|
localeDir: 'locales',
|
|
enableLegacy: false,
|
|
runtimeOnly: false,
|
|
compositionOnly: false,
|
|
fullInstall: true,
|
|
},
|
|
},
|
|
pwa: {
|
|
iconPaths: {
|
|
faviconSVG: null,
|
|
},
|
|
},
|
|
})
|