Files
vscode/extensions/git/extension.webpack.config.js
Johannes Rieken 32a051090f 💄
2018-08-08 17:43:07 +02:00

29 lines
764 B
JavaScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
const path = require('path');
module.exports = {
// mode: 'none',
mode: 'production',
target: 'node',
context: __dirname,
entry: {
main: './out/main.js',
['askpass-main']: './out/askpass-main.js'
},
output: {
filename: '[name].bundle.js',
path: path.join(__dirname, 'out'),
libraryTarget: "commonjs"
},
externals: {
'vscode': 'commonjs vscode',
},
stats: 'errors-only'
};