更新 Electron 到 v15.2.0

This commit is contained in:
lyswhut
2021-10-15 19:54:48 +08:00
parent 5fdba7720c
commit 8b0fc9bf5f
7 changed files with 1188 additions and 1465 deletions
+4 -11
View File
@@ -1,4 +1,5 @@
const path = require('path')
const ESLintPlugin = require('eslint-webpack-plugin')
module.exports = {
target: 'electron-main',
@@ -18,17 +19,6 @@ module.exports = {
},
module: {
rules: [
{
test: /\.js$/,
use: {
loader: 'eslint-loader',
options: {
formatter: require('eslint-formatter-friendly'),
},
},
exclude: /node_modules/,
enforce: 'pre',
},
{
test: /\.node$/,
use: 'node-loader',
@@ -38,4 +28,7 @@ module.exports = {
performance: {
maxEntrypointSize: 300000,
},
plugins: [
new ESLintPlugin(),
],
}