Do not inline large SVGs (Fixes Microsoft/monaco-editor#336)

This commit is contained in:
Alex Dima 2017-01-26 14:17:47 +01:00
parent 647fef72f9
commit aeb466bdee

View file

@ -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;
}