1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-18 21:09:40 +02:00

chore(build): remove eslint plugin [EE-6432] (#10773)

This commit is contained in:
Chaim Lev-Ari 2024-01-02 13:42:48 +07:00 committed by GitHub
parent faa7180536
commit 3ae430bdd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 24 deletions

View file

@ -2,11 +2,9 @@ const path = require('path');
const { ProvidePlugin, IgnorePlugin } = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const WebpackBuildNotifierPlugin = require('webpack-build-notifier');
const CleanTerminalPlugin = require('clean-terminal-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
const ESLintPlugin = require('eslint-webpack-plugin');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
const Dotenv = require('dotenv-webpack');
@ -22,6 +20,7 @@ module.exports = {
output: {
filename: '[name].[contenthash].js',
path: path.resolve(projectRoot, 'dist/public'),
pathinfo: false,
},
module: {
rules: [
@ -108,7 +107,6 @@ module.exports = {
},
plugins: [
new Dotenv({ defaults: true }),
new ESLintPlugin(),
new HtmlWebpackPlugin({
template: './app/index.html',
templateParameters: {
@ -130,7 +128,6 @@ module.exports = {
logo: path.resolve('./assets/favicon-32x32.png'),
suppressSuccess: true,
}),
new CleanTerminalPlugin(),
new ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',