How to use environment variables?
-
Is it possible to have multiple environment-specific jsreport.config.json?
How to configure this?
Is there any way to have the correct config file based on the current environment?
-
Is it possible to have multiple environment-specific jsreport.config.json?
jsreport only reads one configuration file, but you can have multiple of these files if you want and to use a specific one depending on your environment you can start jsreport with the
--configFile=<path-to-your-file>
cli argument or an env varconfigFile
with the path