Skip to content

Commit

Permalink
[Polaris Icons] Empty Mock SVG for all
Browse files Browse the repository at this point in the history
  • Loading branch information
dingua committed Sep 19, 2024
1 parent 5bb85b5 commit 5b0bbca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/real-phones-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris-icons': minor
---

Mock all icons SVGs to be empty (for testing purpose)
3 changes: 2 additions & 1 deletion polaris-icons/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ function svgBuild(options = {}) {
this.emitFile({
type: 'asset',
fileName: `svg/${path.basename(id)}`,
source: svg,
source:
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"/>\n',
});
});
},
Expand Down

0 comments on commit 5b0bbca

Please sign in to comment.