Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
reference free variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmydief committed Nov 15, 2019
1 parent c9c13e7 commit e7551d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit e7551d3

Please sign in to comment.