code cache - do not configure our loader when using vscode-file protocol

This commit is contained in:
Benjamin Pasero 2021-06-08 09:17:50 +02:00
parent 9636518bbf
commit 72fb784f97
No known key found for this signature in database
GPG key ID: E6380CC4C8219E65

View file

@ -147,8 +147,8 @@
loaderConfig.amdModulesPattern = /^vs\//;
}
// Cached data config
if (configuration.codeCachePath) {
// Cached data config (node.js loading only)
if (!useCustomProtocol && configuration.codeCachePath) {
loaderConfig.nodeCachedData = {
path: configuration.codeCachePath,
seed: modulePaths.join('')