mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
don't use __$__nodeRequire to fetch product configuration
This commit is contained in:
@@ -81,6 +81,9 @@ globalThis._VSCODE_NODE_MODULES = new Proxy(Object.create(null), {
|
||||
return target[mod];
|
||||
}
|
||||
});
|
||||
// VSCODE_GLOBALS: package/product.json
|
||||
globalThis._VSCODE_PRODUCT_JSON = (require.__$__nodeRequire ?? require)('../../../product.json');
|
||||
globalThis._VSCODE_PACKAGE_JSON = (require.__$__nodeRequire ?? require)('../../../package.json');
|
||||
|
||||
const _tests_glob = '**/test/**/*.test.js';
|
||||
let loader;
|
||||
|
||||
Reference in New Issue
Block a user