Regression: Not possible to provide array of source paths for icon generation
See original GitHub issueI’m submitting a…
[x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
You are not allowed to provide an array of source paths for icon generation, it was possible before your own svg-generator.
Expected behavior
You can provide an array of source paths for icons.
Minimal repoduction
old:
"svg-to-ts": {
"conversionType": "object",
"srcFiles": [
"./src/assets/svg/*.svg" ,
"./node_modules/some_lib/assets/svg/*.svg"
],
"outputDirectory": "./src/assets/svg",
"fileName": "svg-icons",
"svgoConfig": {
"plugins": [
{
"removeDimensions": true,
"cleanupAttrs": true
}
]
}
}
new:
"svgGenerator": {
"outputPath": "./src/app/svg",
"prefix": "app",
"srcPath": "./src/assets/svg", // Array will throw error
"svgoConfig": {
"plugins": [
{
"removeDimensions": true,
"cleanupAttrs": true
}
]
}
}
What is the motivation/use case for changing the behavior?
For example generation of icons from node_modules and project assets.
Environment
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Predicting numerical values with regression - Elastic
An introduction to machine learning regression, which enables you to predict numerical values in a data set.
Read more >React Native - Image Require Module using Dynamic Names
I am creating a local "data" file in my app and I needed to access the images. I have tried <Image source={require(item.img)} />...
Read more >Building a regression model in Spotfire
From the menu, click Tools > Regression Modeling. · Provide a suitable name and descriptive comment for the model. · From the Model...
Read more >Linear regression analysis in Excel - Ablebits
The tutorial explains the basics of regression analysis and shows how to do linear regression in Excel with Analysis ToolPak and formulas.
Read more >Deploy machine learning models to online endpoints - Azure ...
Learn how to use an online endpoint to deploy your model, so you don't have to create and manage the underlying infrastructure.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes
You can add a
nameNormalizer
function that returns a modified name if you want.