Run Angular app inside web worker without ejecting from CLI -


i have heavy javascript code in application , bogging down ui, making feel less 60fps (janky).

i want take advantage of using web worker without losing comfort of angular-cli (i don't want run ng eject). ideally, whole app run inside web worker.

is possible?

preconditions:

  • angular 2 or 4
  • angular-cli v.1.0+
  • no ejecting angular-cli

i'm assuming saw this: angular cli generated app web workers

and this: https://medium.com/@enriqueoriol/angular-with-web-workers-step-by-step-dc11d5872135

but didn't ejecting?

i don't know of way currently. there issue add here: https://github.com/angular/angular-cli/issues/2305

so disappointing answer question may "no".


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -