react-to-pdf icon indicating copy to clipboard operation
react-to-pdf copied to clipboard

Getting error after installing the lib

Open kksingla opened this issue 1 year ago • 3 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,

| unit: "mm" | }); image

kksingla avatar Nov 09 '23 02:11 kksingla