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
It would allow users to keep very strict CSP directives (since the output is often a simple static site) by removing inlined styles and base64-inlined images.
What does the proposed API look like?
Maybe a --no-inline flag passed in to saber build?
How should this be implemented in your opinion?
When the flag is present, CSS should be written to their own files instead of being inlined in the document's <head>, same for images (maybe this can already be avoided by using saber-image, I've yet to test that?).
Are you willing to work on this yourself?
Yes, with some guidance 🙏
Sorry if this is already somehow solvable by existing features.
The text was updated successfully, but these errors were encountered:
Feature request
What problem does this feature solve?
It would allow users to keep very strict CSP directives (since the output is often a simple static site) by removing inlined styles and base64-inlined images.
What does the proposed API look like?
Maybe a
--no-inline
flag passed in tosaber build
?How should this be implemented in your opinion?
When the flag is present, CSS should be written to their own files instead of being inlined in the document's
<head>
, same for images (maybe this can already be avoided by usingsaber-image
, I've yet to test that?).Are you willing to work on this yourself?
Yes, with some guidance 🙏
Sorry if this is already somehow solvable by existing features.
The text was updated successfully, but these errors were encountered: