[FIX] webpack.config.common.js path bug

Fixes issue https://github.com/a2nt/silverstripe-webpack/issues/1
This commit is contained in:
Mason D 2018-07-26 16:07:42 +10:00 committed by GitHub
parent c4cf6674bd
commit 234f54b8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ const includes = {
};
const _getAllFilesFromFolder = function(dir) {
dir = path.join(__dirname, dir);
dir = path.resolve(__dirname, dir);
const filesystem = require('fs');
let results = [];