-
Notifications
You must be signed in to change notification settings - Fork 9
This Angular DS Template Doesn't Work with Ivy @angular - 9.0.0-rc6 #1
Comments
Are there any updates on it? |
Actually, I tried to update all package json versions myself and it seemed to work. |
I found this in the Ionic repo - https://github.com/ionic-team/ionic/blob/master/core/stencil.config.ts#L92. Seems new way of declaring angular targets |
@mappmechanic did you make only package.json update? Can you please share your package.json here? |
could you provide us @mappmechanic more details plz |
@rsurjano So the fix for me (not sure if its the correct fix) - was to set in angular.json |
It is not the correct fix, we should never set 'aot' to false without any purpose or else our bundle size will shoot up as the JIT compiler will be bundled in our dist files. |
@rsurjano @psamusev Please update the packages of each dependency given in package json, example for all the angular dependencies based on your latest angular project. Then it will work automatically with some minor tweaks. As the changes I have done our in an enterprise github instance, I cannot share that code. |
@mappmechanic Yeah, sorry i meant for my project which is just a POC and for the short term until the packages were updated. I probably should have been more clear with my comment and use case 😉 What tweaks were required other then bumping the versions? |
Hello everyone! I think I faced with same issue. I walked through all comments here and here is my summary:
Hope ionic team/@jthoms1 will spare some time and update this template and corresponding docs for angular v10+. upd/edit: would be nice if someone can confirm my findings |
@nikbabchenko nothing new from my side. angular version of our example app is considered 2nd level priority.. |
@ZuBB, cool! |
As I stumbled upon the ivy issue too, I want to share my workaround TL;DR: Just use a angular library as the wrapper project.
For me atleast this seems to be working fine. Angular detects the components as valid ivy components, autocompletion in WebStorm works. |
@eXXeption urgent help, please. If I create a library in this project, is there a way to consume the library in that project (in which u created library) without publishing anywhere?. TIA. |
tsconfig -> path mappings do the trick |
could you please post sample code :( sorry for it. but I am clueless, working with stencil and angular mono repo like structure for first time. update: Got it👍 thanks a lot |
This Angular DS Template Doesn't Work with Ivy @angular - 9.0.0-rc6
When I try to compile using Ivy, it gives me weird errors about NgModule meta info etc.
The text was updated successfully, but these errors were encountered: