Inline small svg/png images when bundling editor

This commit is contained in:
Alex Dima
2016-06-07 18:46:41 +02:00
parent 21f1a1e66c
commit bb7358555b
4 changed files with 301 additions and 266 deletions

View File

@@ -29,6 +29,9 @@ var editorEntryPoints = _.flatten([
var editorResources = [
'out-build/vs/{base,editor}/**/*.{svg,png}',
'!out-build/vs/base/browser/ui/splitview/**/*',
'!out-build/vs/base/browser/ui/toolbar/**/*',
'!out-build/vs/base/browser/ui/octiconLabel/**/*',
'out-build/vs/base/worker/workerMainCompatibility.html',
'out-build/vs/base/worker/workerMain.{js,js.map}',
'!out-build/vs/workbench/**',
@@ -62,6 +65,8 @@ function editorLoaderConfig(removeAllOSS) {
result.paths['vs/languages/lib/common/beautify-html'] = 'out-build/vs/languages/lib/common/beautify-html.mock';
}
result['vs/css'] = { inlineResources: true };
return result;
}