Fix loading of recommended methods
This commit is contained in:
+7
-1
@@ -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,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user