mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
refactor: replace preact with react
This commit is contained in:
@@ -31,9 +31,10 @@ const generateIcons = async (iconFiles) => {
|
||||
svg,
|
||||
{
|
||||
plugins: ['@svgr/plugin-svgo', '@svgr/plugin-jsx'],
|
||||
dimensions: false,
|
||||
dimensions: true,
|
||||
typescript: true,
|
||||
jsxRuntime: 'classic-preact',
|
||||
jsxRuntime: 'automatic',
|
||||
jsxImportSource: 'react',
|
||||
},
|
||||
{ componentName: iconName }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user