mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
webpack - check js files, declare params, #56081
This commit is contained in:
@@ -3,12 +3,15 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
//@ts-check
|
||||
|
||||
'use strict';
|
||||
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
|
||||
const myConfig = {
|
||||
|
||||
module.exports = withDefaults({
|
||||
context: __dirname,
|
||||
node: {
|
||||
__dirname: false // leave the __dirname-behaviour intact
|
||||
@@ -32,6 +35,4 @@ const myConfig = {
|
||||
"vscode-nls": 'commonjs vscode-nls',
|
||||
"which": 'commonjs which',
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = withDefaults(myConfig);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user