You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
After upgrade and some breaking changes in @angular/compiler-cli library can't be build with rollup in AoT mode
What is the expected behavior?
Library works in AoT mode
What is the current behavior?
Errors like
[13:25:25] 'rollup' errored after 6.59 s
[13:25:25] Error: Could not resolve './calendar-body' from aot/tmp/node_modules/md2/datepicker/calendar-body.ngfactory.js
at error (/home/andrew/www/riotgames/live/dashboard/node_modules/rollup/dist/rollup.js:185:14)
at then.resolvedId (/home/andrew/www/riotgames/live/dashboard/node_modules/rollup/dist/rollup.js:18244:8)
at <anonymous>
Because paths in compiled files like ./aot/tmp/node_modules/md2/datepicker/calendar-body.ngfactory.js
are relative ex. import * as i3 from "./calendar-body";
Bug, feature request, or proposal:
After upgrade and some breaking changes in @angular/compiler-cli library can't be build with rollup in AoT mode
What is the expected behavior?
Library works in AoT mode
What is the current behavior?
Errors like
Because paths in compiled files like
./aot/tmp/node_modules/md2/datepicker/calendar-body.ngfactory.js
are relative ex.
import * as i3 from "./calendar-body";
My tsconfig.json is:
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, MD2, OS, browsers are affected?
[email protected]
[email protected]
[email protected]
My workaround
The text was updated successfully, but these errors were encountered: