Getting error after installing the lib
kksingla opened this issue · comments
./node_modules/react-to-pdf/dist/module.js 43:32
Module parse failed: Unexpected token (43:32)
File was processed with these loaders:
- ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| format: this.options.page.format,
| orientation: this.options.page.orientation,
...this.options.overrides?.pdf,
Any update on this issue?
./node_modules/react-to-pdf/dist/module.js 43:32 Module parse failed: Unexpected token (43:32) File was processed with these loaders:
- ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| format: this.options.page.format,
| orientation: this.options.page.orientation,...this.options.overrides?.pdf,
Did you solve the problem? thank you
Any update on this issue?