Skip to content

Commit

Permalink
feat(optimisation): ensure realContentHash is set to 'true' by default
Browse files Browse the repository at this point in the history
  • Loading branch information
flo-sch committed Jan 4, 2022
1 parent 6ec3acc commit 1cd79da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/configurations/frontend/production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ export const getProductionConfiguration = ({
],
/** https://webpack.js.org/configuration/optimization/#optimizationmoduleids */
moduleIds: 'deterministic',
/** https://github.com/waysact/webpack-subresource-integrity/tree/main/webpack-subresource-integrity#caching */
realContentHash: true,
},
/**
* Specific performance thresholds
Expand Down

0 comments on commit 1cd79da

Please sign in to comment.