@react-pakistan/util-functions 1.20.2 → 1.20.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -22,10 +22,10 @@ const generateReactDesignScript = (fs) => {
|
|
|
22
22
|
fs.readdirSync(svgDir).forEach((folderName) => {
|
|
23
23
|
if (folderName === '.DS_Store')
|
|
24
24
|
return;
|
|
25
|
-
const flowArray = folderName.split('-');
|
|
26
|
-
const flow =
|
|
25
|
+
// const flowArray = folderName.split('-');
|
|
26
|
+
// const flow = 'color';
|
|
27
27
|
// eslint-disable-next-line max-len
|
|
28
|
-
scriptOutput += `svgr --template scripts/svgr-template.js --config-file scripts/.svgrrc
|
|
28
|
+
scriptOutput += `svgr --template scripts/svgr-template.js --config-file scripts/.svgrrc-color.js -d src/templates/ --ext tsx assets/templates/${folderName}
|
|
29
29
|
`;
|
|
30
30
|
});
|
|
31
31
|
fs.writeFileSync(`${saveDir}all-scripts.sh`, scriptOutput);
|