mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Copy webServer from Typescript to VS Code (#165771)
* Initial draft. Not working. Also not correctly formatted, I'll do that later. * Various fixes It works now * A bit of cleanup * Move webServer to its own directory And prepare for getting rid of dynamicImportCompat.js hack * Remove dynamicImportCompat.js hack * Revert unrelated change * Webpac tsserver.web.js with webServer.ts as entrypoint Instead of using CopyPlugin. 1. Shipping multiple entrypoints in a single file required fixes to build code. 2. There are a couple of warnings from `require` calls in tsserverlibrary.js. Those are not relevant since they're in non-web code, but I haven't figured how to turn them off; they are fully dynamic so `externals` didn't work. * Ignore warnings from dynamic import in tsserver * Add to .vscodeignore files
This commit is contained in:
committed by
GitHub
parent
7f9aa0535a
commit
cb43019d6a
@@ -26,7 +26,6 @@ function processRoot() {
|
||||
function processLib() {
|
||||
const toDelete = new Set([
|
||||
'tsc.js',
|
||||
'tsserverlibrary.js',
|
||||
'typescriptServices.js',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user