0

I have integrated Angular4 with sails.js app. Everything works as expected. However, I can't figure out how to run a Ahead-of-Time Compilation.

I am using commonJS my module loader, it is a very similar setup as to how they have it at this link, https://sharpten.com/blog/2016/02/02/integrating-angular-2-with-sails-js.html.

Does anyone know how to run a Ahead-of-Time Compilation for none Angular CLI?

Daniel Izhar
  • 130
  • 1
  • 12
  • my 2 cents. Stick with angular cli. Develop frontend (angular 4) and backend (sails) separately. Merge both during deployment, by pushing the build output of angular into the public folder of sails (static assets) – Muthukumar Oct 10 '17 at 16:23

1 Answers1

0

my 2 cents. Stick with angular cli. Develop frontend (angular 4) and backend (sails) separately. Merge both during deployment, by pushing the build output of angular into the public folder of sails (static assets)

For more info, check the related question here https://stackoverflow.com/a/42907043/515774

Muthukumar
  • 8,679
  • 17
  • 61
  • 86