mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
🔒 Use pure version of medium-zoom to avoid inline style
This avoids an extra sha sum for a hashed CSP because it merges the CSS into main.bundle.css and avoids any inline styles being applied by medium-zoom. This addresses concerns mentioned in the closed PR https://github.com/nunocoracao/blowfish/pull/2196, now the same changes are integrated into package.json. This fixes https://github.com/nunocoracao/blowfish/issues/2195.
This commit is contained in:
@@ -113,8 +113,12 @@
|
||||
"to": "assets/lib/lite-youtube-embed/lite-yt-embed.css"
|
||||
},
|
||||
{
|
||||
"from": "node_modules/medium-zoom/dist/medium-zoom.min.js",
|
||||
"to": "assets/lib/zoom/zoom.min.js"
|
||||
"from": "node_modules/medium-zoom/dist/pure/medium-zoom.min.umd.js",
|
||||
"to": "assets/lib/zoom/zoom.min.umd.js"
|
||||
},
|
||||
{
|
||||
"from": "node_modules/medium-zoom/dist/style.css",
|
||||
"to": "assets/lib/zoom/style.css"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user