debt - introduce and adopt FileAccess

deprecate amd.ts and require.toUrl methods
This commit is contained in:
Benjamin Pasero
2020-09-25 14:10:45 +02:00
parent 5d8c90cdb3
commit 7f035b4be7
39 changed files with 172 additions and 110 deletions

View File

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