mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Show loader info
This commit is contained in:
parent
a7179b0bef
commit
a6e0092cd1
1 changed files with 6 additions and 2 deletions
|
|
@ -43,8 +43,12 @@
|
||||||
});
|
});
|
||||||
pathsConfig['vs'] = PATH_PREFIX + RESOLVED_CORE_PATH;
|
pathsConfig['vs'] = PATH_PREFIX + RESOLVED_CORE_PATH;
|
||||||
|
|
||||||
console.log('LOADER PATH CONFIGURATION: ');
|
var loaderInfo = document.createElement('div');
|
||||||
console.log(JSON.stringify(pathsConfig, null, '\t'));
|
loaderInfo.style.position = 'fixed';
|
||||||
|
loaderInfo.style.top = 0;
|
||||||
|
loaderInfo.style.right = 0;
|
||||||
|
loaderInfo.innerHTML = 'LOADER PATH CONFIGURATION: ' + '<br/><pre>' + JSON.stringify(pathsConfig, null, '\t') + '</pre>';
|
||||||
|
document.body.appendChild(loaderInfo);
|
||||||
|
|
||||||
require.config({
|
require.config({
|
||||||
paths: pathsConfig
|
paths: pathsConfig
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue