sandbox - consolidate fileUriFromPath into one

This commit is contained in:
Benjamin Pasero
2020-09-22 08:14:45 +02:00
parent 7ebeea736f
commit 5497e60ed2
4 changed files with 48 additions and 46 deletions

View File

@@ -32,7 +32,7 @@ function initLoader(opts) {
nodeRequire: require,
nodeMain: __filename,
catchError: true,
baseUrl: bootstrap.fileUriFromPath(path.join(__dirname, '../../../src')),
baseUrl: bootstrap.fileUriFromPath(path.join(__dirname, '../../../src'), process.platform === 'win32'),
paths: {
'vs': `../${outdir}/vs`,
'lib': `../${outdir}/lib`,