mirror of
				https://git.unlock-music.dev/um/web.git
				synced 2025-11-04 11:43:28 +08:00 
			
		
		
		
	Remove Source Map in production
This commit is contained in:
		
							parent
							
								
									2aeb60d0a9
								
							
						
					
					
						commit
						a72804544f
					
				@ -45,8 +45,6 @@ steps:
 | 
				
			|||||||
      secret_key:
 | 
					      secret_key:
 | 
				
			||||||
        from_secret: aws_secret_access_key
 | 
					        from_secret: aws_secret_access_key
 | 
				
			||||||
      source: dist/**/*
 | 
					      source: dist/**/*
 | 
				
			||||||
      exclude:
 | 
					 | 
				
			||||||
        - "**/*.map"
 | 
					 | 
				
			||||||
      strip_prefix: dist/
 | 
					      strip_prefix: dist/
 | 
				
			||||||
      target: /public
 | 
					      target: /public
 | 
				
			||||||
      path_style: true
 | 
					      path_style: true
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
    publicPath: '',
 | 
					    publicPath: '',
 | 
				
			||||||
    productionSourceMap: true,
 | 
					    productionSourceMap: false,
 | 
				
			||||||
    pwa: {
 | 
					    pwa: {
 | 
				
			||||||
        workboxOptions: {
 | 
					        workboxOptions: {
 | 
				
			||||||
            skipWaiting: true
 | 
					            skipWaiting: true
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user