@ofidj/generator-fidj 3.7.3 → 3.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -269,6 +269,13 @@ function startModule() {
269
269
  for (const script of mount.scripts) {
270
270
  const element = document.createElement("script");
271
271
  if (script.module) element.type = "module";
272
+ // A script created here carries async = true by default, so these execute
273
+ // in whatever order the network returns them. An app's polyfills have to
274
+ // run before its entry point — Angular boots without Zone.js otherwise,
275
+ // throws NG0908 and paints nothing, which reaches the person as a blank
276
+ // page, intermittently, with nothing said. Clearing it restores the order
277
+ // they were inserted in, which is the order the app's own document had.
278
+ element.async = false;
272
279
  element.src = script.src;
273
280
  document.body.appendChild(element);
274
281
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ofidj/generator-fidj",
3
- "version": "3.7.3",
3
+ "version": "3.7.4",
4
4
  "description": "Generate a TypeScript app with Fidj sign-in, live server-side roles and per-app privacy.",
5
5
  "homepage": "https://fidj.ovh",
6
6
  "bugs": {