forked from DebaucheryLibrarian/traxxx
Replaced eslint-loader with eslint-webpack-plugin.
This commit is contained in:
@@ -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',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user