-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AoT compilation fails #16
Comments
Seems like AOT does not like the distributed // FIXME: quick-hack to fix AOT
import { VirtualScrollModule } from "../../resources/angular2-virtual-scroll/src/virtual-scroll" |
Notice that if you provide the metadata.json files alongside the .js files (meaning you need to AOT compile this library in advance) the .ts files are no longer needed. |
Fixed with v0.1.0. Now this library is AoT enabled. |
When running AoT compilation ( node_modules/.bin/ngc -p tsconfig-aot.json ) it fails with the following error:
Unexpected value 'VirtualScrollModule in /node_modules/angular2-virtual-scroll/dist/virtual-scroll.d.ts' imported by the module 'AppModule in /app/app.module.ts'
tsconfig-aot.json
app.module.ts (excerpt)
The text was updated successfully, but these errors were encountered: