diff --git a/webpack.config.js b/webpack.config.js index 205b7943d3..b97028e38c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,5 +23,9 @@ module.exports = { ], }, - target: 'node' + target: 'node', + + node: { + __dirname: true + } };