Pick up offical TS build for web server
This commit is contained in:
parent
79557ebbd2
commit
f29a3cabc4
3 changed files with 7 additions and 6 deletions
|
@ -22,7 +22,7 @@ module.exports = withBrowserDefaults({
|
||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
{
|
{
|
||||||
from: 'node_modules/typescript-web-server/*.d.ts',
|
from: 'node_modules/typescript-web/lib/*.d.ts',
|
||||||
to: 'typescript-web/',
|
to: 'typescript-web/',
|
||||||
flatten: true
|
flatten: true
|
||||||
},
|
},
|
||||||
|
@ -32,7 +32,7 @@ module.exports = withBrowserDefaults({
|
||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
{
|
{
|
||||||
from: 'node_modules/typescript-web-server/tsserver.js',
|
from: 'node_modules/typescript-web/lib/tsserver.js',
|
||||||
to: 'typescript-web/tsserver.web.js',
|
to: 'typescript-web/tsserver.web.js',
|
||||||
transform: (content) => {
|
transform: (content) => {
|
||||||
return Terser.minify(content.toString()).code;
|
return Terser.minify(content.toString()).code;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"@types/semver": "^5.5.0",
|
"@types/semver": "^5.5.0",
|
||||||
"copy-webpack-plugin": "^6.0.3",
|
"copy-webpack-plugin": "^6.0.3",
|
||||||
"terser": "^4.8.0",
|
"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"
|
"vscode": "^1.1.36"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -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"
|
resolved "https://registry.yarnpkg.com/typescript-vscode-sh-plugin/-/typescript-vscode-sh-plugin-0.6.14.tgz#a81031b502f6346a26ea49ce082438c3e353bb38"
|
||||||
integrity sha512-AkNlRBbI6K7gk29O92qthNSvc6jjmNQ6isVXoYxkFwPa8D04tIv2SOPd+sd+mNpso4tNdL2gy7nVtrd5yFqvlA==
|
integrity sha512-AkNlRBbI6K7gk29O92qthNSvc6jjmNQ6isVXoYxkFwPa8D04tIv2SOPd+sd+mNpso4tNdL2gy7nVtrd5yFqvlA==
|
||||||
|
|
||||||
"typescript-web-server@git://github.com/mjbvz/ts-server-web-build":
|
"typescript-web@npm:typescript@^4.2.0-dev.20201209":
|
||||||
version "0.0.0"
|
version "4.2.0-dev.20201209"
|
||||||
resolved "git://github.com/mjbvz/ts-server-web-build#2a70d88432760118a6aab21da7b819a57e7d4e5e"
|
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:
|
unique-filename@^1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
|
|
Loading…
Reference in a new issue