vue minify images

Solutions on MaxInterview for vue minify images by the best coders in the world

showing results for - "vue minify images"
Chiara
06 Jan 2017
1const ImageminPlugin = require('imagemin-webpack-plugin').default;
2
3module.exports = {
4  configureWebpack: {
5    plugins: [
6      new ImageminPlugin({
7        disable: process.env.NODE_ENV !== 'production',
8      })
9    ]
10  }
11}
12