diff --git a/build/gulpfile.editor.js b/build/gulpfile.editor.js index 8a645babb81..bb3a52e91ef 100644 --- a/build/gulpfile.editor.js +++ b/build/gulpfile.editor.js @@ -84,9 +84,6 @@ const extractEditorSrcTask = task.define('extract-editor-src', () => { `lib.dom.d.ts`, `lib.webworker.importscripts.d.ts` ], - redirects: { - 'vs/base/browser/ui/codiconLabel/codiconLabel': 'vs/base/browser/ui/codiconLabel/codiconLabel.mock', - }, shakeLevel: 2, // 0-Files, 1-InnerFile, 2-ClassMembers importIgnorePattern: /(^vs\/css!)|(promise-polyfill\/polyfill)/, destRoot: path.join(root, 'out-editor-src') diff --git a/src/vs/base/browser/ui/codiconLabel/codiconLabel.mock.ts b/src/vs/base/browser/ui/codiconLabel/codiconLabel.mock.ts deleted file mode 100644 index 37862376c2c..00000000000 --- a/src/vs/base/browser/ui/codiconLabel/codiconLabel.mock.ts +++ /dev/null @@ -1,24 +0,0 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - -import { escape } from 'vs/base/common/strings'; - -export function renderCodicons(text: string): string { - return escape(text); -} - -export class CodiconLabel { - - private _container: HTMLElement; - - constructor(container: HTMLElement) { - this._container = container; - } - - set text(text: string) { - this._container.innerHTML = renderCodicons(text || ''); - } - -}