mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
reference free variable
This commit is contained in:
parent
c9c13e7b55
commit
e7551d3bf9
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -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…
Add table
Add a link
Reference in a new issue