-
-
Notifications
You must be signed in to change notification settings - Fork 117
chore: ng v8 new loadChildren import syntax #68
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
Conversation
test |
@dtopuzov does If I click on details I can't see why the test failed (goes to a intranet jenkins box it looks like) Are there docs someplace that describe how I can run the tests locally? |
Hi @rynop, Yes For some of the repos (like NativeScript/NativeScript) we already expose results publicly, but still not implemented for this templates. Tests fails because we fail to build NG apps with proposed changes, stack trace is something like this:
Steps to reproduce:
It looks like we are not quite ready for |
That error means your test is not pulling in the update I made to Here is a simple way to re-produce (and fix) the error:
Open up
Execute Now update |
Hi @rynop, Reason for failing tests is that we run update scripts of In order to get it working even after update, we need also this PR: |
oh, strange. ok thanks. |
…lates into rynop-master
test |
test |
Closing this in favor of #93 with original commit authorship kept intact:
|
PR Checklist
^ This change was simple. If rejected not wasting much of my time.
^ I'm not sure how to run the cli unit tests against a non-master branch of
nativescript-app-templates
. CLI is hard-coded to pull from a release on npm (from what I could tell).What is the current behavior?
NS Angular templates use
loadChildren
string syntax in lazy loaded routes.What is the new behavior?
Angular version 8 deprecated the string syntax in favor of dynamic import. Full details @ https://angular.io/guide/deprecations#loadchildren-string-syntax
Old:
loadChildren: './lazy/lazy.module#LazyModule'
New: