From 40c32855b433213ac54ddbd65b464be9244f52b4 Mon Sep 17 00:00:00 2001 From: xuegan Date: Wed, 12 Jul 2023 12:27:32 +0800 Subject: [PATCH] feat:add eslint error --- packages/webpack-plugin/lib/resolver/AddEnvPlugin.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/webpack-plugin/lib/resolver/AddEnvPlugin.js b/packages/webpack-plugin/lib/resolver/AddEnvPlugin.js index f1d7f6678e..e0318c6b22 100644 --- a/packages/webpack-plugin/lib/resolver/AddEnvPlugin.js +++ b/packages/webpack-plugin/lib/resolver/AddEnvPlugin.js @@ -7,10 +7,15 @@ const { JSON_JS_EXT } = require('../utils/const') module.exports = class AddEnvPlugin { constructor (source, env, fileConditionRules, target) { - this.source = source - this.target = target + this.source = source + this.target = target this.env = env - this.fileConditionRules = fileConditionRules + + + this.fileConditionRules = fileConditionRules + + + } apply (resolver) {