converter/config/helpers.js
Manuel Friedli be51aab2ee Intermediate commit:
- webpack build does not run successfully, typescript errors out, saying
  "TS2304: Cannot find name 'module'." or 'require' or 'process' in
  certain .ts files.
2017-03-14 15:42:11 +01:00

7 lines
225 B
JavaScript

var path = require('path');
var _root = path.resolve(__dirname, '..');
function root(args) {
args = Array.prototype.slice.call(arguments, 0);
return path.join.apply(path, [_root].concat(args));
}
exports.root = root;