vasilevich / react-fullscreen-crossbrowser

A simple react full-screen component, which will work in both, JS and TS environment.
https://www.npmjs.com/package/react-fullscreen-crossbrowser
MIT License
27 stars 7 forks source link

Optimized publishing because of source map errors #10

Closed Hmve closed 1 year ago

Hmve commented 1 year ago

The warning: WARNING in ./node_modules/react-fullscreen-crossbrowser/lib/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'C:\Users\XXX\XXX\XXX\XXX\MYPROJECT\node_modules\react-fullscreen-crossbrowser\src\index.tsx' file: Error: ENOENT: no such file or directory, open 'C:\Users\XXX\XXX\XXX\XXX\MYPROJECT\node_modules\react-fullscreen-crossbrowser\src\index.tsx

...still exists when using the package within a project. So I