mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Do not inline large SVGs (Fixes Microsoft/monaco-editor#336)
This commit is contained in:
parent
647fef72f9
commit
aeb466bdee
|
@ -63,7 +63,10 @@ function editorLoaderConfig() {
|
|||
result.paths['vs/base/browser/ui/octiconLabel/octiconLabel'] = 'out-build/vs/base/browser/ui/octiconLabel/octiconLabel.mock';
|
||||
|
||||
// force css inlining to use base64 -- see https://github.com/Microsoft/monaco-editor/issues/148
|
||||
result['vs/css'] = { inlineResources: 'base64' };
|
||||
result['vs/css'] = {
|
||||
inlineResources: 'base64',
|
||||
inlineResourcesLimit: 3000 // see https://github.com/Microsoft/monaco-editor/issues/336
|
||||
};
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue