Fix few more eslint notices
This commit is contained in:
@@ -9,7 +9,6 @@ const paths = require('../utils/paths')
|
||||
const webpackConfig = require('../config/prod')
|
||||
const config = require('../project.config')
|
||||
|
||||
|
||||
rm(paths.resolve(config.outputDir), (err) => {
|
||||
if (err) throw err
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ module.exports = {
|
||||
alias: {
|
||||
'@': paths.resolve('src'),
|
||||
},
|
||||
extensions: ['.js','.vue', '.json'],
|
||||
extensions: ['.js', '.vue', '.json'],
|
||||
},
|
||||
|
||||
plugins: [
|
||||
|
||||
@@ -37,9 +37,7 @@ const genStyleRules = () => {
|
||||
return { test, use: loaders }
|
||||
}
|
||||
|
||||
return [
|
||||
createCSSRule(/\.css$/),
|
||||
]
|
||||
return [createCSSRule(/\.css$/)]
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = (options) => ({
|
||||
module.exports = () => ({
|
||||
terserOptions: {
|
||||
compress: {
|
||||
// turn off flags with small gains to speed up minification
|
||||
|
||||
Reference in New Issue
Block a user