diff --git a/lib/APIPlugin.js b/lib/APIPlugin.js index 9a2bf964f..893fee20a 100644 --- a/lib/APIPlugin.js +++ b/lib/APIPlugin.js @@ -46,7 +46,7 @@ const REPLACEMENTS = { __non_webpack_require__: { expr: "require", req: null, - type: undefined, // type is not know, depends on environment + type: undefined, // type is not known, depends on environment assign: true }, __webpack_nonce__: { @@ -76,7 +76,7 @@ const REPLACEMENTS = { "require.onError": { expr: RuntimeGlobals.uncaughtErrorHandler, req: [RuntimeGlobals.uncaughtErrorHandler], - type: undefined, // type is not know, could be function or undefined + type: undefined, // type is not known, could be function or undefined assign: true // is never a pattern } };