mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 18:28:58 +00:00
* Adds hot reload launch config --------- Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com> Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
19 lines
1.1 KiB
TypeScript
19 lines
1.1 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
/// <reference path="../../src/typings/vscode-globals-product.d.ts" />
|
|
|
|
import { enableHotReload } from '../../src/vs/base/common/hotReload.ts';
|
|
import { InstantiationType, registerSingleton } from '../../src/vs/platform/instantiation/common/extensions.ts';
|
|
import { IWebWorkerService } from '../../src/vs/platform/webWorker/browser/webWorkerService.ts';
|
|
// eslint-disable-next-line local/code-no-standalone-editor
|
|
import { StandaloneWebWorkerService } from '../../src/vs/editor/standalone/browser/services/standaloneWebWorkerService.ts';
|
|
|
|
enableHotReload();
|
|
registerSingleton(IWebWorkerService, StandaloneWebWorkerService, InstantiationType.Eager);
|
|
|
|
globalThis._VSCODE_DISABLE_CSS_IMPORT_MAP = true;
|
|
globalThis._VSCODE_USE_RELATIVE_IMPORTS = true;
|