ember-asset-loader
ember-asset-loader copied to clipboard
The loader when in node land does nothing, can we teach it to put link/script tags in the DOM?
Hey, I am having an issue with lazy engines + fastboot resulting in a FOUC.
So far, I have nailed it down to 2 issues,
- This code from ember engines will always return true in fastboot... not sure how to fix that one. https://github.com/ember-engines/ember-engines/issues/564
- Ember Asset Loader does nothing in node land/fastboot. So even if we were to fix that first bit, ember asset loader would not load the async engines css and js anyways.
I propose we teach each loader how to load itself in the browser and in node land. In node land, it would just append a script/link tag to the dom.