Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Allow overriding basedir to fix web #41

Merged
merged 3 commits into from
Aug 9, 2022

Conversation

TylerLeonhardt
Copy link
Member

The problem was that this line that included __dirname was always being injected even for web which caused failures.

So this changes allows the ability to override what gets set there. So the webpack loader will see that it's building a web extension and inject / instead... which will get removed here:
https://github.com/microsoft/vscode-nls/blob/main/src/browser/main.ts#L43-L45

@TylerLeonhardt TylerLeonhardt merged commit a41b407 into main Aug 9, 2022
@TylerLeonhardt TylerLeonhardt deleted the tyler/allow-overriding-base-dir branch August 9, 2022 18:32
@TylerLeonhardt
Copy link
Member Author

Sadly this isn't good enough... because / isn't always going to be the case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants