Open peterennis opened 5 years ago
its been a while i've updated the source material and worked on the solution. the AOT does not work as planned, but when you set the buildoptimizer to false it should work
regarding angular8, that might come in a later stage when i have more time to focus on the project
I came a bit further but possibly messed it up by doing:
eval(source.toString())
and replacing Http
with HttpClient
. Now it bundles, but the browser console says SystemJS were undefined.
Clone repo and build. It does not compile.
Also sec errors.
So I decided to test upgrading to A8.
After a bunch of changes I get stuck with this:
https://github.com/peterennis/angular-umd-dynamic-example/commit/b65929c76de0d7ae9a340a783ccb858e83087c0a
@lmeijdam
My foo power ran out at this point.
NOTE: From here: https://github.com/lmeijdam/angular-umd-dynamic-example
AOT and SystemJS The app now supports AOT compilation by typing;
ng build --aot
Next to that I've changed the use of eval to the use of SystemJS to load the modules.
The eval is where I am stuck.
Do you have any plan to update or create a new repo for A8?