Allowing multiple sets of configurations in the package.json
See original GitHub issueHi @kreuzerk, I pulled the latest version of svg-to-ts, and unfortunately, I can’t use it with the new configuration file. If the docs are up to date, you can only have: one set of source files and one output directory. I have a big project, and for performance reasons, I need to generate six files at various locations in my project.
I was wondering if the svg-to-ts
entry, in the package.json
you could also allow an set of configurations, not just only one.
It is possible to achieve that using command line (multiple times with different parameters) but it would be nice if I can have everything within the same configuration file.
Congratulations on your project, this is a fantastic tool. Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to Create Configurations for Different Environments in ...
Having multiple configurations can be handy for your node applications. ... Create your package.json file using npm init. Save the config ...
Read more >Run tests with multiple sets of configurations #240 - GitHub
I have same sets of JSON data with configurations (TestID,Browser Type, Device Type, Url etc. ). Is there a way i can use...
Read more >How to use multiple configuration files in webpack?
All of my development configurations are in webpack.config.js file. Then, I add it into package.json script via 'dev':'webpack-dev-server'.
Read more >package.json - npm Docs
This is a set of config values that will be used at publish-time. It's especially handy if you want to set the tag,...
Read more >Configuring package.json · Jest
The path to a module that runs some code to configure or set up the testing framework before each test. Since setupFiles executes...
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
In the upcoming version
5.4.0
svg-to-ts
can handle multiple configurations like this:Also, should it be possible to add a shared interface for both configuration where
TechnicianIcon
andCompanyIcon
can extend from? Something likesharedModelName: BaseIcon
?