Skip to content

Commit 7e67e0a

Browse files
ngondaliabhufmann
authored andcommitted
Fixed packaged extension missing dependencies
Changes made: - Used webpack to package the extension - Added additional options to TS compiler config This will fix the issue of when users package the vscode extension, an error is thrown on activation stating cannot find module 'tsp-typescript-client'. Signed-off-by: Neel Gondalia [email protected]
1 parent 8f25ae0 commit 7e67e0a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

common-tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
"baseUrl": ".",
2323
"composite": true
2424
}
25-
}
25+
}

vscode-trace-extension/.vscodeignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ tsconfig.json
44
webpack.config.js
55
*.tsbuildinfo
66
.eslintrc.js
7-
src
7+
src

vscode-trace-extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"terser": "3.14.1"
132132
},
133133
"scripts": {
134-
"prepare": "yarn run clean && yarn run build",
134+
"prepare": "yarn run clean && yarn run build && yarn run webpack",
135135
"clean": "rimraf lib",
136136
"build": "tsc -p tsconfig.json",
137137
"webpack": "webpack --mode development",

vscode-trace-extension/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
"path": "../vscode-trace-webviews"
1717
}
1818
]
19-
}
19+
}

vscode-trace-extension/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ const config = {
6767
},
6868
}
6969

70-
module.exports = config;
70+
module.exports = config;

0 commit comments

Comments
 (0)