1

we have a few angular webapps and are currently on angular 7. In 2 of them I have added ngx-spinner and setup it up per the readme and it works without issue. However, on the 3rd app it does not load the css into the <head> element.

https://www.npmjs.com/package/ngx-spinner

Working versiIon

In the image you can see the style for ngx-spinner in the <head>. The version that does not work has all the other expected styles just not this one.

There are no special imports for the styles and in the working versions I do not import the styles.

The versions of the packages between the working and non working apps are just about identical. I looked through about everything I can think of and do not see something different in the setup or config.

What are some things that could cause this?

Bozhinovski
  • 2,496
  • 3
  • 20
  • 38
Michaela Ervin
  • 702
  • 8
  • 25
  • Any advice about where to even start looking for the cause would be helpful. If any more info is needed please let me know. I just do not know what is relevant in this case. – Michaela Ervin Oct 20 '20 at 12:38
  • I faced the same problem – Tagi Nov 20 '20 at 20:57
  • @Tagi am starting to think it has to do with the typescript target and module. The other apps are on es2015 but due to some older deps in this one it is still on es5. – Michaela Ervin Nov 22 '20 at 14:17

0 Answers0