You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/ExportsFieldPlugin.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -115,10 +115,10 @@ module.exports = class ExportsFieldPlugin {
115
115
116
116
if(paths.length===0){
117
117
constconditions=[...this.conditionNames];
118
-
constconditionsStr=
119
-
conditions.length===1
120
-
? `the condition "${conditions[0]}"`
121
-
: `the conditions ${JSON.stringify(conditions)}`;
118
+
constconditionsStr=
119
+
conditions.length===1
120
+
? `the condition "${conditions[0]}"`
121
+
: `the conditions ${JSON.stringify(conditions)}`;
122
122
returncallback(
123
123
newError(
124
124
`"${remainingRequest}" is not exported under ${conditionsStr} from package ${request.descriptionFileRoot} (see exports field in ${request.descriptionFilePath})`,
0 commit comments