reference free variable

pull/2748/head
James Diefenderfer 5 years ago
parent c9c13e7b55
commit e7551d3bf9
No known key found for this signature in database
GPG Key ID: EDE86934D2A0665C

@ -116,8 +116,8 @@ function createLoaderRules(languages, features, workers, outputPath, pluginPubli
// 3. Compilation public path.
const pathPrefix = Boolean(pluginPublicPath)
? JSON.stringify(pluginPublicPath)
: `typeof window.__webpack_public_path__ === 'string' ` +
`? window.__webpack_public_path__ ` +
: `typeof __webpack_public_path__ === 'string' ` +
`? __webpack_public_path__ ` +
`: ${JSON.stringify(compilationPublicPath)}`
const globals = {

Loading…
Cancel
Save