mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Webpack friendly (#57679)
This commit is contained in:
parent
794b6ac45b
commit
80cc844613
|
@ -11,9 +11,9 @@ const localize = nls.loadMessageBundle();
|
|||
import { parseTree, findNodeAtLocation, Node as JsonNode } from 'jsonc-parser';
|
||||
import * as MarkdownItType from 'markdown-it';
|
||||
|
||||
import { languages, workspace, Disposable, TextDocument, Uri, Diagnostic, Range, DiagnosticSeverity, Position } from 'vscode';
|
||||
import { languages, workspace, Disposable, TextDocument, Uri, Diagnostic, Range, DiagnosticSeverity, Position, env } from 'vscode';
|
||||
|
||||
const product = require('../../../product.json');
|
||||
const product = require(path.posix.join(env.appRoot, 'product.json'));
|
||||
const allowedBadgeProviders: string[] = (product.extensionAllowedBadgeProviders || []).map(s => s.toLowerCase());
|
||||
|
||||
const httpsRequired = localize('httpsRequired', "Images must use the HTTPS protocol.");
|
||||
|
|
Loading…
Reference in a new issue