build(webpack): Fix the request of a dependency is an expression (#337)

* build(webpack): Fix the request of a dependency is an expression

Critical dependency: the request of a dependency is an expression

* style: Fix spaces after object literal braces
This commit is contained in:
Róbert Kiss
2017-07-05 18:35:56 +02:00
committed by László Monda
parent 1796e61f02
commit 67a55363da
3 changed files with 38 additions and 17 deletions

View File

@@ -0,0 +1,5 @@
const path = require('path');
module.exports.root = function root(dir, __path) {
return path.join(dir, __path);
};