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

@@ -20,9 +20,6 @@ module.exports = withDefaults({
mainFields: ['module', 'main'],
extensions: ['.ts', '.js'] // support ts-files and js-files
},
node: {
__dirname: false // leave the __dirname-behaviour intact
},
output: {
filename: 'cssServerMain.js',
path: path.join(__dirname, 'dist'),