build: {
/*
** Run ESLint on save
*/
extend(config, {isDev, isClient}) {
if (isDev && isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/
})
}
},
parser: [require('postcss-scss')],
postcss: [
require('import-postcss')(),
require('postcss-cssnext')(),
require('postcss-custom-media')(),
require('postcss-node-sass')(),
],
extractCSS: true
},