Fix loading of recommended methods

This commit is contained in:
adilallo
2026-05-26 09:03:18 -06:00
parent 2871df27b2
commit 8420ce42e3
11 changed files with 261 additions and 58 deletions
+7 -1
View File
@@ -2,7 +2,7 @@ import createMDX from "@next/mdx";
/* eslint-env node */
/** Keep viewBox so inline SVGR art can scale/center like `object-contain`. */
/** Keep viewBox and unique clip/mask IDs when multiple SVGR icons share a page. */
const svgrLoaderOptions = {
svgoConfig: {
plugins: [
@@ -14,6 +14,12 @@ const svgrLoaderOptions = {
},
},
},
{
name: "prefixIds",
params: {
prefixClassNames: false,
},
},
],
},
};