comments and absolute file paths in AoT ouput
HI,
The --aot output (main.***.bundje.js) is full of comments with instructions like these:
- @return {Observable
} An Observable of the first item that matches the\n * condition.\n * /** A element that can be safely used to parse untrusted HTML. Lazily initialized below. *
And license agreements from Google. Not sure if that is required? If so it might also be fetched async later?
The file is also full of references to absolute paths on my development machine or buildserver:
"/Users//Projects//frontend/src/app/app.route.ts" "sourceURL=webpack:////Users//Projects//frontend/src/app/ui-components/fnc-file-drop/fnc-file-drop.component.scss.shim.ts"
OS?
Mac OSX sierra
Versions.
angular-cli: 1.0.0-beta.21 node: 6.9.2 os: darwin x64
Repro steps.
ng build --prod --aot --env=*** --sm false
The comments bit is being tracked in https://github.com/angular/angular-cli/issues/2386
The absolute paths are unintended. Will look into it.
Possibly related to #3506 ?
I just checked and this doesn't seem to happen anymore.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.