mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Remove untranspiled ES2015 from final output
This commit is contained in:
parent
2f7821f494
commit
afb9f52b7c
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -90,7 +90,7 @@ function createLoaderRules(languages, features, workers, outputPath, publicPath)
|
|||
}
|
||||
return {
|
||||
getWorkerUrl: function (moduleId, label) {
|
||||
const pathPrefix = (typeof window.__webpack_public_path__ === 'string' ? window.__webpack_public_path__ : ${JSON.stringify(publicPath)});
|
||||
var pathPrefix = (typeof window.__webpack_public_path__ === 'string' ? window.__webpack_public_path__ : ${JSON.stringify(publicPath)});
|
||||
return (pathPrefix ? stripTrailingSlash(pathPrefix) + '/' : '') + paths[label];
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue