Replaced eslint-loader with eslint-webpack-plugin.

This commit is contained in:
DebaucheryLibrarian
2021-02-23 02:08:10 +01:00
parent 29765f488b
commit 39d8b0a17f
3 changed files with 1226 additions and 1255 deletions

View File

@@ -3,6 +3,7 @@ const path = require('path');
const { VueLoaderPlugin } = require('vue-loader');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const autoprefixer = require('autoprefixer');
const ESLintPlugin = require('eslint-webpack-plugin');
module.exports = {
entry: './assets/js/main.js',
@@ -35,7 +36,6 @@ module.exports = {
],
},
},
'eslint-loader',
],
},
{
@@ -67,6 +67,7 @@ module.exports = {
},
plugins: [
new VueLoaderPlugin(),
new ESLintPlugin(),
new MiniCssExtractPlugin({
filename: '../css/style.css',
}),