Fix few more eslint notices

This commit is contained in:
Viktor Denisov
2022-12-16 11:46:51 -08:00
parent 4c5ceb67ad
commit fea4284390
4 changed files with 3 additions and 6 deletions

View File

@@ -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

View File

@@ -37,9 +37,7 @@ const genStyleRules = () => {
return { test, use: loaders }
}
return [
createCSSRule(/\.css$/),
]
return [createCSSRule(/\.css$/)]
}
module.exports = {

View File

@@ -1,6 +1,6 @@
'use strict'
module.exports = (options) => ({
module.exports = () => ({
terserOptions: {
compress: {
// turn off flags with small gains to speed up minification