Skip to content

Commit

Permalink
Merge pull request #268 from hashicorp/leah/fix/svgo-loader-settings
Browse files Browse the repository at this point in the history
fix: turn off cleanupIds for svgo loader
  • Loading branch information
LeahMarieBush authored Jul 9, 2024
2 parents 85e9d52 + 2bdb0be commit 415eb8f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/plenty-fans-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hashicorp/platform-nextjs-plugin': patch
---

Turn off cleanupIds for svgo loader
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/nextjs-plugin/src/plugins/with-inline-svg-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export function withInlineSvgLoader() {
overrides: {
removeViewBox: false,
collapseGroups: false,
cleanupIds: {
minify: false,
},
},
},
},
Expand Down

0 comments on commit 415eb8f

Please sign in to comment.