Skip to content

Commit 0779618

Browse files
committed
1 parent d259a97 commit 0779618

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

extensions/git/extension.webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ const myConfig = {
1919
},
2020
plugins: [
2121
new CopyWebpackPlugin([
22-
{ from: './out/*.sh', to: '[name].sh' }
22+
{ from: './out/*.sh', to: '[name].sh' },
23+
{ from: './out/nls.*.json', to: '[name].json' }
2324
])
2425
],
2526
externals: {

extensions/shared.webpack.config.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
'use strict';
77

88
const path = require('path');
9-
const CopyWebpackPlugin = require('copy-webpack-plugin');
109
const merge = require('merge-options');
1110

1211
module.exports = function withDefaults(extConfig) {
@@ -39,9 +38,6 @@ module.exports = function withDefaults(extConfig) {
3938
}]
4039
}]
4140
},
42-
plugins: [
43-
new CopyWebpackPlugin([{ from: './out/nls.*.json', to: '[name].json' }]) // copy nls files
44-
],
4541
externals: {
4642
'vscode': 'commonjs vscode', // ignored because it doesn't exist
4743
},
@@ -54,7 +50,7 @@ module.exports = function withDefaults(extConfig) {
5450
},
5551
// yes, really source maps
5652
devtool: 'source-map'
57-
}
53+
};
5854

5955
return merge(defaultConfig, extConfig);
60-
}
56+
};

0 commit comments

Comments
 (0)