webpack - move __dirname-config up into shared config

This commit is contained in:
Johannes Rieken
2018-09-03 12:32:48 +02:00
parent 195ef80610
commit f82bcb20ed
9 changed files with 3 additions and 24 deletions

View File

@@ -11,9 +11,6 @@ const withDefaults = require('../shared.webpack.config');
module.exports = withDefaults({
context: __dirname,
node: {
__dirname: false,
},
resolve: {
mainFields: ['module', 'main']
},