mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Enable web TS Server (#102990)
This enables running the TS Server on web. This currently requires a special version of the TypeScript server
This commit is contained in:
@@ -27,10 +27,14 @@
|
||||
"@types/node": "^12.11.7",
|
||||
"@types/rimraf": "2.0.2",
|
||||
"@types/semver": "^5.5.0",
|
||||
"copy-webpack-plugin": "^6.0.3",
|
||||
"typescript-web-server": "git://github.com/mjbvz/ts-server-web-build",
|
||||
"vscode": "^1.1.36"
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:typescript-language-features"
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:typescript-language-features",
|
||||
"compile-web": "npx webpack-cli --config extension-browser.webpack.config --mode none",
|
||||
"watch-web": "npx webpack-cli --config extension-browser.webpack.config --mode none --watch --info-verbosity verbose"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onLanguage:javascript",
|
||||
@@ -50,6 +54,7 @@
|
||||
"onLanguage:jsonc"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"browser": "./dist/browser/extension",
|
||||
"contributes": {
|
||||
"jsonValidation": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user