You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- index.html --><!DOCTYPE html><head><title>data-explorer</title><basehref="/"></head><body><app-root><noscript>JavaScript must be enabled in order for you to use this service.</noscript><prole="status">App is loading …</p></app-root></body>
The enableResourceInlining option is to configure whether to use styleUrl or styles property for libraries in order to support FESM where the file paths may change. In either scenario, the styles are processed by the framework at runtime and loaded as inline <style /> elements. The option name is perhaps a bit misleading here and we could probably improve our docs around it. Regardless, the option doesn't help with CSP and isn't what you're looking for here.
There is an issue in the FW repo about using a nonce for inline styles, this is probably the feature you're looking for: angular/angular#26152
Closing this issue as I don't think there's any action to take on the CLI side.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Unknown
Description
Even with an explicit
"enableResourceInlining": false
, the component styles are still inline, and will be blocked by a strict CSP.The generated css file only includes some Material components, not all of them, and not any of the project's own css.
🔬 Minimal Reproduction
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: