Browse Source

Correctly inject directory names

master
Leo Lamprecht 8 years ago
parent
commit
e0fa631b99
  1. 4
      webpack.config.js

4
webpack.config.js

@ -5,6 +5,10 @@ const nodeExternals = require('webpack-node-externals')
module.exports = {
entry: './src/now.js',
target: 'node',
node: {
__dirname: true,
__filename: true
},
externals: [nodeExternals()],
output: {
filename: 'dist/now.js',

Loading…
Cancel
Save