-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create provisional hashes module
When the following conditions are met: - loading the SRI middleware - generating the hashes module is enabled - the hashes module does not exist yet Then: Make the SRI middleware loader to generate a provisional hashes module file based on the scripts and stylesheets found in /public/. It likely won't help much because in real scenarios we'll have tons of CSS and JS that are inside /src/ and pre-processed by Astro/Vite/Rollup, but it's a good nice-to-have for simple sites. Signed-off-by: Andres Correa Casablanca <[email protected]>
- Loading branch information
Showing
3 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters