diff --git a/extensions/git/extension.webpack.config.js b/extensions/git/extension.webpack.config.js index 44e0d7dff17..35f3239228b 100644 --- a/extensions/git/extension.webpack.config.js +++ b/extensions/git/extension.webpack.config.js @@ -19,7 +19,8 @@ const myConfig = { }, plugins: [ new CopyWebpackPlugin([ - { from: './out/*.sh', to: '[name].sh' } + { from: './out/*.sh', to: '[name].sh' }, + { from: './out/nls.*.json', to: '[name].json' } ]) ], externals: { diff --git a/extensions/shared.webpack.config.js b/extensions/shared.webpack.config.js index b98d911ce80..14a79dfdcd5 100644 --- a/extensions/shared.webpack.config.js +++ b/extensions/shared.webpack.config.js @@ -6,7 +6,6 @@ 'use strict'; const path = require('path'); -const CopyWebpackPlugin = require('copy-webpack-plugin'); const merge = require('merge-options'); module.exports = function withDefaults(extConfig) { @@ -39,9 +38,6 @@ module.exports = function withDefaults(extConfig) { }] }] }, - plugins: [ - new CopyWebpackPlugin([{ from: './out/nls.*.json', to: '[name].json' }]) // copy nls files - ], externals: { 'vscode': 'commonjs vscode', // ignored because it doesn't exist }, @@ -54,7 +50,7 @@ module.exports = function withDefaults(extConfig) { }, // yes, really source maps devtool: 'source-map' - } + }; return merge(defaultConfig, extConfig); -} +};