mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
fix #56877
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user