webpack - check js files, declare params, #56081

This commit is contained in:
Johannes Rieken
2018-08-21 16:39:52 +02:00
parent ac96d60418
commit a9e3a3d69e
5 changed files with 37 additions and 10 deletions

View File

@@ -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);
});