pwa-asset-generator icon indicating copy to clipboard operation
pwa-asset-generator copied to clipboard

script tags are reformatted which breaks CSP sha hashes

Open regular opened this issue 1 year ago • 0 comments

Hi! Thanks for this amazing tool! I really enjoy the over-engineeredness of this! (scraping Apple docs)

Here is my problem:

The index.html file I want pwa-asset-generator to modify was created by piping minified browserify output through indexhtmlify and metadataify and my tools add a CSP http-equiv tag containing the sha256 of the inlined Javascript. This all works fine, except that pwa-asset-generator not only modifies the

but also pretty-prints the

regular avatar Nov 03 '23 20:11 regular