Skip to content

Commit 9a346f5

Browse files
committed
Run git-import-view compilation in separate webpack instance
Signed-off-by: Denis Golovin [email protected]
1 parent 7d4f31b commit 9a346f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"compile": "npm-run-all compile:*",
5353
"compile:ext": "tsc -p ./",
5454
"compile:views": "webpack --mode production --config src/webview/webpack.config.js",
55+
"compile:git-import-view": "webpack --mode development --config src/webview/git-import/webpack.config.js",
5556
"dev:compile:log-view": "webpack --mode development --config src/webview/log/webpack.config.js",
5657
"dev:compile:describe-view": "webpack --mode development --config src/webview/describe/webpack.config.js",
5758
"dev:compile:cluster-view": "webpack --mode development --config src/webview/cluster/webpack.config.js",

src/webview/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const viewEntries = fs.readdirSync(__dirname);
1313
viewEntries.forEach((name) => {
1414
const dir = path.join(__dirname, name)
1515
const stat = fs.statSync(dir);
16-
if (stat.isDirectory()) {
16+
if (stat.isDirectory() && !dir.endsWith('git-import')) {
1717
const webpack = path.join(dir, 'webpack.config.js')
1818
const exists = fs.existsSync(webpack);
1919
if (exists) {

0 commit comments

Comments
 (0)