annotate config/helpers.js @ 62:7787ca310644 webpack tip

update @angular to 4.4.5.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Wed, 18 Oct 2017 17:46:41 +0200
parents 7b9d616695d3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
1 var path = require('path');
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
2 var _root = path.resolve(__dirname, '..');
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
3 function root(args) {
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
4 args = Array.prototype.slice.call(arguments, 0);
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
5 return path.join.apply(path, [_root].concat(args));
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
6 }
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
7 exports.root = root;