Within this module I need to use a css file. Locally I can use it but when I deploy my application, the CSS file is not included. Ive already updates my Dynatrace App version to the latest versions.
My question would be: what’s the best way to use a CSS file from a node_module? Locally it works perfectly, when deployed it gets ignored.
Hi there, I’ve been debugging this issue and there seems to be a bug in the CLI. What I can see is that, when you import a CSS file in your TypeScript/JavaScript, final build has a corresponding CSS file, however, it’s not linked in HTML. Therefore, the deployed version doesn’t have it.
I’ll double check with the team and let you know when we have a confirmed bug.
@michiel_otten can you confirm if you’re using windows? I can confirm that it’s a bug on windows and works on other OS. The concerned team is made aware of it and it will be resolved asap. Thanks
There is currently no ETA for this issue. We’ve forwarded the info to the concerned team, and a fix will be included in an update as soon as possible. Thank you for your patience.