dmk99 / react-pdf-table

Storybook Available
https://dmk99.github.io/react-pdf-table
MIT License
152 stars 62 forks source link

Inline ts into sourcemaps to avoid error referenceing non existant src/*.ts file #41

Closed gruberro closed 2 years ago

gruberro commented 2 years ago

This PR aims to get rid of warnings like

WARNING in ./node_modules/@david.kucsai/react-pdf-table/lib/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/xxx/node_modules/@david.kucsai/react-pdf-table/src/index.ts' file: Error: ENOENT: no such file or directory, open '/xxx/node_modules/@david.kucsai/react-pdf-table/src/index.ts'

when building a project using this library.

dmk99 commented 2 years ago

Thanks for this!