Has anybody succeeded with ahead of time compilation with this project? If so any guide/help is highly appreciated.
Best regards
Patrick
Hope that too actually, but would take some time as from the first glance it does not look like a simple change.
Perhaps this could help someone thats good with webpack: https://www.softwarearchitekt.at/post/2016/09/18/angular-2-aot-compiler-and-tree-shaking-with-webpack2-and-or-rollup-step-by-step.aspx
I'm working on AOT here: https://github.com/PerkdAS/k30-admin.
I'm having to go through every single file to make sure that everything works.
My goal is to contribute back to the original repo after everything is done. Any help is appreciated.
This code may be of help to you:
I've made some progress adding AOT support. One of the biggest obstacles was that some of the dependencies used by ng2-admin do not support AOT in their current versions. The last one I needed to upgrade was ng2-smart table, which didn't have AOT support. I've submitted a pull request to add AOT to ng2-smart-table and planned on continuing to work on ng2-admin AOT support once that was complete.
Hey Guys, many thanks for your help!
We are in progress of updating ng2-admin with AOT support, the work in progress is here https://github.com/akveo/ng2-admin/tree/aot. We'll update this issue once we are done with it.
Most helpful comment
This code may be of help to you:
debben/ng2-admin
I've made some progress adding AOT support. One of the biggest obstacles was that some of the dependencies used by ng2-admin do not support AOT in their current versions. The last one I needed to upgrade was ng2-smart table, which didn't have AOT support. I've submitted a pull request to add AOT to ng2-smart-table and planned on continuing to work on ng2-admin AOT support once that was complete.