problem with loader
Opened this issue · 1 comments
doudouinfo commented
this is my problem when I use this problem:
./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/react-scripts/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,
| unit: "mm"
| });
rajivchaulagain commented
@doudouinfo check out this it's the same error as of yours
wojtekmaj/react-pdf#1043