Update require base URL for VS Code loader
It needs to have the scheme otherwise when resolving these modules the loader will default to the file scheme and fail to fetch.
This commit is contained in:
parent
07580e1fcb
commit
30d05aeb4b
@ -31,7 +31,8 @@ try {
|
||||
}
|
||||
|
||||
;(self.require as any) = {
|
||||
baseUrl: `${options.csStaticBase}/lib/vscode/out`,
|
||||
// Without the full URL VS Code will try to load file://.
|
||||
baseUrl: `${window.location.origin}${options.csStaticBase}/lib/vscode/out`,
|
||||
recordStats: true,
|
||||
paths: {
|
||||
"vscode-textmate": `../node_modules/vscode-textmate/release/main`,
|
||||
|
Loading…
Reference in New Issue
Block a user