UNPKG

vue-fast-chat

Version:

A fork from https://github.com/MatheusrdSantos/vue-fast-chat

32 lines (31 loc) 851 B
const TerserPlugin = require('terser-webpack-plugin'); module.exports = { publicPath: '', css: { extract: true }, configureWebpack: { optimization: { minimizer: [ new TerserPlugin({ terserOptions: { ecma: 6, compress: true, output: { comments: false, beautify: false } } }) ] } }, chainWebpack(config) { config.module .rule("vue") .use("vue-loader") .loader("vue-loader") .tap(options => { options.compilerOptions.whitespace = "condense"; return options }); } };