Closed
Description
Every time I use __dirname it returns '/' and if I use __filename returns '/index.js'.
I know It's from webpack, but I do not know how to configure webpack through the angular-cli (and I tried to find it in the web, but there is no solution).
Is there a way to avoid this problem?
OS:
Mac OSX Sierra
Versions:
angular-cli: 1.0.0-beta.19-3
node: 7.0.0
os: darwin x64