Skip to content

Commit

Permalink
Fixes microsoft/monaco-editor#148: Force css loader plugin to inline …
Browse files Browse the repository at this point in the history
…images as base64 for the monaco editor
  • Loading branch information
alexdima committed Aug 31, 2016
1 parent aff498b commit 22306fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/gulpfile.editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ function editorLoaderConfig() {
// never ship octicons in editor
result.paths['vs/base/browser/ui/octiconLabel/octiconLabel'] = 'out-build/vs/base/browser/ui/octiconLabel/octiconLabel.mock';

result['vs/css'] = { inlineResources: true };
// force css inlining to use base64 -- see https://github.com/Microsoft/monaco-editor/issues/148
result['vs/css'] = { inlineResources: 'base64' };

return result;
}
Expand Down

0 comments on commit 22306fd

Please # to comment.