Closed PierreFichet closed 3 years ago
jsreport-core by default does not load the config file (it is mentioned here), so the configuration in your file is not getting applied, you need to set loadConfig:true
in the options of the core instance.
const jsreport = require('jsreport-core')({ loadConfig: true })
Thanks ! I read that part too quickly and missed the loadConfig: false. Tank you for the quick reply. BTW, great job for this amazing project !
Hi,
I am testing jsreport-core in order to integrate it to an larger app. I installed a few extensions, among them jsreport-fs-store. When I launch it, the output is the following:
The script is the following:
jsreport.config.json:
When I manually import the extension, i.e :
the output remains the same (except that it says 'Handlebars' is not defined but it's another subject ;)
I don't see why jsreport is still using the default memory provider. How can I force jsreport to use it ?
Thanks in advance.