mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 09:50:21 +00:00
17 lines
364 B
JavaScript
17 lines
364 B
JavaScript
var config = require('./webpack.release.js')
|
|
var webpack = require('webpack')
|
|
|
|
config.output.filename = config.output.filename.replace(/\.js$/, '.min.js')
|
|
|
|
config.plugins = [
|
|
new webpack.optimize.ModuleConcatenationPlugin(),
|
|
new webpack.optimize.UglifyJsPlugin({
|
|
sourceMap: true,
|
|
compress: {
|
|
warnings: false
|
|
}
|
|
})
|
|
]
|
|
|
|
module.exports = config
|