1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 19:21:18 -04:00

fix percy snapshots

This commit is contained in:
2021-08-25 12:03:09 -04:00
parent 36c9a6b2d1
commit 1af8fbd643
3 changed files with 7 additions and 5 deletions

View File

@@ -61,14 +61,15 @@ export default {
],
}),
new SubresourceIntegrityPlugin({
hashFuncNames: ["sha512"],
enabled: true,
hashFuncNames: ["sha384"],
}),
new WebpackAssetsManifest({
writeToDisk: true,
writeToDisk: true, // allow Hugo to access file in dev mode
output: path.resolve(__dirname, "data/manifest.json"),
publicPath: true,
integrity: true,
integrityHashes: ["sha384"],
}),
],
module: {