Client - update build config
This commit is contained in:
parent
40355a0af5
commit
d795d9bf38
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,6 +16,7 @@ coverage.xml
|
||||
.venv
|
||||
/fittrackee.egg-info/
|
||||
/dist
|
||||
/fittrackee
|
||||
|
||||
# CLIENT
|
||||
###############
|
||||
|
20
fittrackee_client/vue.config.js
Normal file
20
fittrackee_client/vue.config.js
Normal file
@ -0,0 +1,20 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
configureWebpack: {
|
||||
performance: {
|
||||
maxEntrypointSize: 400000,
|
||||
maxAssetSize: 500000,
|
||||
},
|
||||
},
|
||||
chainWebpack: (config) => {
|
||||
config.plugin('html').tap((args) => {
|
||||
args[0].title = 'FitTrackee'
|
||||
return args
|
||||
})
|
||||
},
|
||||
publicPath: '/static/',
|
||||
outputDir: path.resolve(__dirname, '../fittrackee/dist/static'),
|
||||
indexPath: '../index.html',
|
||||
}
|
Loading…
Reference in New Issue
Block a user