MCPcopy
hub / github.com/microsoft/vscode-js-debug / getConstantDefines

Function getConstantDefines

gulpfile.js:189–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187const resolveDefaultExts = ['.tsx', '.ts', '.jsx', '.js', '.css', '.json'];
188
189async function getConstantDefines() {
190 const packageJson = await readJson('package.json');
191 return {
192 EXTENSION_NAME: JSON.stringify(extensionName),
193 EXTENSION_VERSION: JSON.stringify(isNightly ? getVersionNumber() : packageJson.version),
194 EXTENSION_PUBLISHER: JSON.stringify(packageJson.publisher),
195 };
196}
197
198function compileVendorLibrary(name) {
199 return {

Callers 2

gulpfile.jsFile · 0.85
compileTsFunction · 0.85

Calls 2

readJsonFunction · 0.85
getVersionNumberFunction · 0.85

Tested by

no test coverage detected