Client - update build config
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -16,6 +16,7 @@ coverage.xml
 | 
				
			|||||||
.venv
 | 
					.venv
 | 
				
			||||||
/fittrackee.egg-info/
 | 
					/fittrackee.egg-info/
 | 
				
			||||||
/dist
 | 
					/dist
 | 
				
			||||||
 | 
					/fittrackee
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# CLIENT
 | 
					# 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',
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user