1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Update how node-eslint-scope is required
Causing breaking changes to some webpack reverse dependencies
Author: Ayoyimika Ajibade <ayoyimikaajibade@gmail.com>
Forwarded: not-needed
Last-Update: 2024-08-28
--- a/lib/optimize/ConcatenatedModule.js
+++ b/lib/optimize/ConcatenatedModule.js
@@ -6,7 +6,7 @@
"use strict";
const eslintScope = require("eslint-scope");
-const Referencer = require("eslint-scope/lib/referencer");
+const Referencer = eslintScope.Referencer;
const { SyncBailHook } = require("tapable");
const {
CachedSource,
|