mirror of
				https://github.com/KevinMidboe/vue-chartjs.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			383 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			383 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
var config = require('./webpack.release.js')
 | 
						|
var webpack = require('webpack')
 | 
						|
 | 
						|
config.output.filename = config.output.filename.replace(/\.js$/, '.min.js')
 | 
						|
 | 
						|
delete config.devtool
 | 
						|
 | 
						|
config.plugins = [
 | 
						|
  new webpack.optimize.UglifyJsPlugin({
 | 
						|
    sourceMap: false,
 | 
						|
    compress: {
 | 
						|
      warnings: false
 | 
						|
    }
 | 
						|
  }),
 | 
						|
  new webpack.optimize.OccurenceOrderPlugin()
 | 
						|
]
 | 
						|
 | 
						|
module.exports = config
 |