mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Ensure 1DS can load on the web (#152678)
* Ensure 1DS can load on the web * Add compiled file
This commit is contained in:
@@ -336,6 +336,13 @@ function acquireWebNodePaths() {
|
||||
}
|
||||
nodePaths[key] = entryPoint;
|
||||
}
|
||||
// @TODO lramos15 can we make this dynamic like the rest of the node paths
|
||||
// Add these paths as well for 1DS SDK dependencies.
|
||||
// Not sure why given the 1DS entrypoint then requires these modules
|
||||
// they are not fetched from the right location and instead are fetched from out/
|
||||
nodePaths['@microsoft/dynamicproto-js'] = 'lib/dist/umd/dynamicproto-js.min.js';
|
||||
nodePaths['@microsoft/applicationinsights-shims'] = 'dist/umd/applicationinsights-shims.min.js';
|
||||
nodePaths['@microsoft/applicationinsights-core-js'] = 'browser/applicationinsights-core-js.min.js';
|
||||
return nodePaths;
|
||||
}
|
||||
exports.acquireWebNodePaths = acquireWebNodePaths;
|
||||
|
||||
@@ -415,6 +415,13 @@ export function acquireWebNodePaths() {
|
||||
nodePaths[key] = entryPoint;
|
||||
}
|
||||
|
||||
// @TODO lramos15 can we make this dynamic like the rest of the node paths
|
||||
// Add these paths as well for 1DS SDK dependencies.
|
||||
// Not sure why given the 1DS entrypoint then requires these modules
|
||||
// they are not fetched from the right location and instead are fetched from out/
|
||||
nodePaths['@microsoft/dynamicproto-js'] = 'lib/dist/umd/dynamicproto-js.min.js';
|
||||
nodePaths['@microsoft/applicationinsights-shims'] = 'dist/umd/applicationinsights-shims.min.js';
|
||||
nodePaths['@microsoft/applicationinsights-core-js'] = 'browser/applicationinsights-core-js.min.js';
|
||||
return nodePaths;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user