mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-31 18:31:02 +00:00
Update npm/yarn dependencies
Replace deprecated babel-eslint with @babel/eslint-parser Replace deprecated eslint-loader with eslint-webpack-plugin Update other plugins, resolving several opened security reports. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
fe572f5a6c
commit
c467bf9382
5 changed files with 1608 additions and 1707 deletions
|
@ -1,6 +1,7 @@
|
|||
const { merge } = require('webpack-merge');
|
||||
const webpack = require('webpack');
|
||||
const commonConfig = require('./common.js');
|
||||
const ESLintPlugin = require('eslint-webpack-plugin');
|
||||
|
||||
module.exports = merge(commonConfig, {
|
||||
devtool: 'eval-source-map',
|
||||
|
@ -15,16 +16,11 @@ module.exports = merge(commonConfig, {
|
|||
// match the output path
|
||||
},
|
||||
plugins: [
|
||||
new ESLintPlugin(),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
enforce: 'pre',
|
||||
test: /\.js$/,
|
||||
loader: 'eslint-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /(node_modules)/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue