mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
'use strict';
|
||||
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = withDefaults({
|
||||
@@ -18,16 +17,6 @@ module.exports = withDefaults({
|
||||
},
|
||||
output: {
|
||||
filename: 'htmlMain.js',
|
||||
path: path.join(__dirname, 'client', 'dist'),
|
||||
libraryTarget: "commonjs",
|
||||
},
|
||||
externals: {
|
||||
'./files': 'commonjs', // ignored because it doesn't exist
|
||||
},
|
||||
plugins: [
|
||||
new CopyWebpackPlugin([
|
||||
{ from: './out/*.sh', to: '[name].sh' },
|
||||
{ from: './out/nls.*.json', to: '[name].json' }
|
||||
])
|
||||
]
|
||||
path: path.join(__dirname, 'client', 'dist')
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user