Remove hash from chunk filename when dev env (#4411)
This commit is contained in:
		
				
					committed by
					
						
						Eugen Rochko
					
				
			
			
				
	
			
			
			
						parent
						
							e67fc997dc
						
					
				
				
					commit
					f93f306053
				
			@@ -10,7 +10,11 @@ const { publicPath } = require('./configuration.js');
 | 
			
		||||
const path = require('path');
 | 
			
		||||
 | 
			
		||||
module.exports = merge(sharedConfig, {
 | 
			
		||||
  output: { filename: '[name]-[chunkhash].js' },
 | 
			
		||||
  output: {
 | 
			
		||||
    filename: '[name]-[chunkhash].js',
 | 
			
		||||
    chunkFilename: '[name]-[chunkhash].js',
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  devtool: 'source-map', // separate sourcemap file, suitable for production
 | 
			
		||||
  stats: 'normal',
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user