Getting error after installing the lib
kksingla opened this issue · 3 comments
kksingla commented
./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,
marvelousdev0 commented
Any update on this issue?
sertunc commented
./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
sertunc commented
Any update on this issue?