Set path to webpack entry relative to config instead of cwd

This commit is contained in:
Björn Dahlgren 2018-10-08 23:07:46 +02:00
parent 1f59c04387
commit ad441e0f4c

View File

@ -3,7 +3,7 @@ var webpack = require('webpack')
module.exports = {
// Entry point for static analyzer
entry: './public/js/app.js',
entry: path.join(__dirname, 'public', 'js', 'app.js'),
output: {
// Where to build results