提交 07796186 编写于 作者: J Johannes Rieken

fix #56877

上级 d259a977
......@@ -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: {
......
......@@ -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);
}
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册