Skip to content

Commit caa20ea

Browse files
authored
Merge pull request webpack#6039 from webpack/refactoring/plugin-system-resolve
Upgrade enhanced-resolve version
2 parents f9fdb33 + c2ce8fd commit caa20ea

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ajv": "^5.1.5",
1010
"ajv-keywords": "^2.0.0",
1111
"async": "^2.1.2",
12-
"enhanced-resolve": "^3.4.0",
12+
"enhanced-resolve": "4.0.0-beta.2",
1313
"eslint-scope": "^3.7.1",
1414
"interpret": "^1.0.0",
1515
"loader-runner": "^2.3.0",

schemas/WebpackOptions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,10 @@
661661
"description": "Enable resolving symlinks to the original location",
662662
"type": "boolean"
663663
},
664+
"concord": {
665+
"description": "Enable condord resolving extras",
666+
"type": "boolean"
667+
},
664668
"unsafeCache": {
665669
"description": "Enable caching of successfully resolved requests",
666670
"anyOf": [

test/TestCases.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ describe("TestCases", () => {
163163
modules: ["web_modules", "node_modules"],
164164
mainFields: ["webpack", "browser", "web", "browserify", ["jam", "main"], "main"],
165165
aliasFields: ["browser"],
166-
extensions: [".mjs", ".webpack.js", ".web.js", ".js", ".json"]
166+
extensions: [".mjs", ".webpack.js", ".web.js", ".js", ".json"],
167+
concord: true
167168
},
168169
resolveLoader: {
169170
modules: ["web_loaders", "web_modules", "node_loaders", "node_modules"],

yarn.lock

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,14 +1100,13 @@ encoding@^0.1.11:
11001100
dependencies:
11011101
iconv-lite "~0.4.13"
11021102

1103-
enhanced-resolve@^3.4.0:
1104-
version "3.4.1"
1105-
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e"
1103+
enhanced-resolve@4.0.0-beta.2:
1104+
version "4.0.0-beta.2"
1105+
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.0.0-beta.2.tgz#a13a9da2340712c4f3dacf27e26717e2eae69c24"
11061106
dependencies:
11071107
graceful-fs "^4.1.2"
11081108
memory-fs "^0.4.0"
1109-
object-assign "^4.0.1"
1110-
tapable "^0.2.7"
1109+
tapable "^1.0.0-beta.4"
11111110

11121111
errno@^0.1.1, errno@^0.1.3:
11131112
version "0.1.4"
@@ -4018,9 +4017,9 @@ tapable@1.0.0-beta.3:
40184017
version "1.0.0-beta.3"
40194018
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0-beta.3.tgz#1f56bb6fec924ac9570cd8f6ff788e5bcf4808f1"
40204019

4021-
tapable@^0.2.7:
4022-
version "0.2.8"
4023-
resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.8.tgz#99372a5c999bf2df160afc0d74bed4f47948cd22"
4020+
tapable@^1.0.0-beta.4:
4021+
version "1.0.0-beta.4"
4022+
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0-beta.4.tgz#0b32094cbb6eb217f5dd049fc27c3a7e99705b9e"
40244023

40254024
tar-pack@^3.4.0:
40264025
version "3.4.0"

0 commit comments

Comments
 (0)