forked from external-repos/LifeTrinket
Revert "fix prettier and convert to module"
This reverts commit 0db1ed2144.
This commit is contained in:
31
svgr.config.cjs
Normal file
31
svgr.config.cjs
Normal file
@@ -0,0 +1,31 @@
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable-next-line no-undef */
|
||||
module.exports = {
|
||||
template: require('./template'),
|
||||
titleProp: true,
|
||||
svgProps: {
|
||||
height: '{props.size || 16}',
|
||||
width: '{props.size || 16}',
|
||||
},
|
||||
svgoConfig: {
|
||||
plugins: [
|
||||
{
|
||||
name: 'preset-default',
|
||||
params: {
|
||||
overrides: {
|
||||
inlineStyles: {
|
||||
onlyMatchedOnce: false,
|
||||
},
|
||||
removeDoctype: false,
|
||||
removeViewBox: false,
|
||||
mergePaths: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
typescript: true,
|
||||
outDir: './src/Icons/generated',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user