mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
29 lines
756 B
JavaScript
29 lines
756 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: './out/askpass-main.js'
|
|
},
|
|
output: {
|
|
filename: '[name].bundle.js',
|
|
path: path.join(__dirname, 'dist'),
|
|
libraryTarget: "commonjs"
|
|
},
|
|
externals: {
|
|
'vscode': 'commonjs vscode',
|
|
},
|
|
stats: 'errors-only'
|
|
};
|