i solved the problem by add the follow script in the head part of index.html
window.setImmediate = window.setTimeout;
I created a new Angular8 project with OnsenUI 2.10.8 version,After i build it for publish,there has an error “main-es2015.js:1 Uncaught ReferenceError: setImmediate is not defined”
My project is init by angular cli
i add onsenui and ngx-onsen by npm
when i build the project by ng build --prod command
the result is like follow up pic’s show.
When i use ng build —prod to make the publish package ,the progress is stop at 11% ,how to deal with it?
But ng build is ok.without —prod args the deploy pack is >14m,it’s too much big