diff --git a/.changeset/real-phones-compare.md b/.changeset/real-phones-compare.md new file mode 100644 index 00000000000..81f3fb5e70e --- /dev/null +++ b/.changeset/real-phones-compare.md @@ -0,0 +1,5 @@ +--- +'@shopify/polaris-icons': minor +--- + +Mock all icons SVGs to be empty (for testing purpose) diff --git a/polaris-icons/rollup.config.mjs b/polaris-icons/rollup.config.mjs index f7a857c1495..0b113a01705 100644 --- a/polaris-icons/rollup.config.mjs +++ b/polaris-icons/rollup.config.mjs @@ -131,7 +131,8 @@ function svgBuild(options = {}) { this.emitFile({ type: 'asset', fileName: `svg/${path.basename(id)}`, - source: svg, + source: + '\n', }); }); },