mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Fix undefined
not allowed for configFile
in ts-load
Seems like the presense of `configFile` causes problems if it is not a string
This commit is contained in:
parent
c1b4cf00b9
commit
04485223eb
|
@ -116,10 +116,10 @@ function withBrowserDefaults(/**@type WebpackConfig*/extConfig, /** @type Additi
|
|||
// * enable sources maps for end-to-end source maps
|
||||
loader: 'ts-loader',
|
||||
options: {
|
||||
configFile: additionalOptions.configFile,
|
||||
compilerOptions: {
|
||||
'sourceMap': true,
|
||||
}
|
||||
},
|
||||
...(additionalOptions ? {} : { configFile: additionalOptions.configFile })
|
||||
}
|
||||
}]
|
||||
}]
|
||||
|
|
Loading…
Reference in a new issue