mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-28 19:27:05 +01:00
adopt new loader with 'onNodeCachedData', send telemetry for successful cached data generation
This commit is contained in:
@@ -83,12 +83,10 @@ function main() {
|
||||
|
||||
window.MonacoEnvironment = {};
|
||||
|
||||
const nodeCachedDataErrors = window.MonacoEnvironment.nodeCachedDataErrors = [];
|
||||
require.config({
|
||||
baseUrl: rootUrl,
|
||||
'vs/nls': nlsConfig,
|
||||
nodeCachedDataDir: configuration.nodeCachedDataDir,
|
||||
onNodeCachedDataError: function (err) { nodeCachedDataErrors.push(err) },
|
||||
nodeModules: [/*BUILD->INSERT_NODE_MODULES*/]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user