microsoft / microsoft/vscode-loader
Use vscode-loader with remote content in Electron
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 179
- Forks
- 62
- Avg merge
- 18h 42m
- Merged PRs (30d)
- 2
Description
We are currently working on an application running in Electron using the monaco-editor, but some use case requires the displayed Electron content to come from a remote server (over http/s).
Problem is, the loader seems to get lost, as it assumes the environment is Node, yet the resources should be fetched from a remote server.
Did you ever encountered such an issue ? What would be our options here ?
I am thinking about trying to trick the loader into detecting a browser environment, though I am not sure I will be able to do this.
Extra infos: The loader works when the application is running in a browser, but once used within electron the loader gets lost.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported difference between browser and Electron when vscode-loader fetches remote HTTP/S content. The issue names no files, tests, or entry points, so first trace the loader's environment detection and resource-loading path; done would mean remote content loads successfully in Electron without breaking browser behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript
- Domain
- desktop, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100