Revert "Revert "Pick up offical TS build for web server""

This reverts commit eb5c4388c7.
This commit is contained in:
Matt Bierner 2020-12-11 13:39:03 -08:00
parent 5b8a6ee21b
commit 072d922c45
3 changed files with 7 additions and 6 deletions

View file

@ -22,7 +22,7 @@ module.exports = withBrowserDefaults({
new CopyPlugin({
patterns: [
{
from: 'node_modules/typescript-web-server/*.d.ts',
from: 'node_modules/typescript-web/lib/*.d.ts',
to: 'typescript-web/',
flatten: true
},
@ -32,7 +32,7 @@ module.exports = withBrowserDefaults({
new CopyPlugin({
patterns: [
{
from: 'node_modules/typescript-web-server/tsserver.js',
from: 'node_modules/typescript-web/lib/tsserver.js',
to: 'typescript-web/tsserver.web.js',
transform: (content) => {
return Terser.minify(content.toString()).code;

View file

@ -29,7 +29,7 @@
"@types/semver": "^5.5.0",
"copy-webpack-plugin": "^6.0.3",
"terser": "^4.8.0",
"typescript-web-server": "git://github.com/mjbvz/ts-server-web-build",
"typescript-web": "npm:typescript@^4.2.0-dev.20201209",
"vscode": "^1.1.36"
},
"scripts": {

View file

@ -876,9 +876,10 @@ typescript-vscode-sh-plugin@^0.6.14:
resolved "https://registry.yarnpkg.com/typescript-vscode-sh-plugin/-/typescript-vscode-sh-plugin-0.6.14.tgz#a81031b502f6346a26ea49ce082438c3e353bb38"
integrity sha512-AkNlRBbI6K7gk29O92qthNSvc6jjmNQ6isVXoYxkFwPa8D04tIv2SOPd+sd+mNpso4tNdL2gy7nVtrd5yFqvlA==
"typescript-web-server@git://github.com/mjbvz/ts-server-web-build":
version "0.0.0"
resolved "git://github.com/mjbvz/ts-server-web-build#2a70d88432760118a6aab21da7b819a57e7d4e5e"
"typescript-web@npm:typescript@^4.2.0-dev.20201209":
version "4.2.0-dev.20201209"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.0-dev.20201209.tgz#fab33fdb1aa7beb857271e0626bca6b200c61351"
integrity sha512-rXJtE/naraN9n3bPBDA5Sa/2nrx1di5se/kVkmAjhUSpBzGmx3zeNHZF59U8XhYQdQ1QsMiDDnjmtjFUGC9LEQ==
unique-filename@^1.1.1:
version "1.1.1"