Skip to content

Commit

Permalink
Include hash in svg sprite symbol id
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilwanner committed Sep 2, 2019
1 parent d53ff16 commit d3a0dd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ const getConfig = nextConfig => ({
optimizationLevel: 3,
},
svgo: {},
svgSpriteLoader: {},
svgSpriteLoader: {
symbolId: '[name]-[hash:8]',
},
webp: {},
...nextConfig,
});
Expand Down

0 comments on commit d3a0dd4

Please sign in to comment.