Paciolan / remote-component

Dynamically load a React Component from a URL
MIT License
599 stars 48 forks source link

Failed to parse source map #48

Open tvogelsang opened 2 years ago

tvogelsang commented 2 years ago

Added @paciolan/remote-component to a CRA app, done in JS (not TS) receiving the following when using webpack:

Failed to parse source map from 'C:\...\node_modules\@paciolan\remote-component\src\components\RemoteComponent.ts' file: Error: ENOENT: no such file or directory, open 'C:\...\node_modules\@paciolan\remote-component\src\components\RemoteComponent.ts'

Receiving this error on about 15 different .ts files that do not exist in the npm package.

joelnet commented 2 years ago

Hmm. I'll have a look at this.

ttessarolo commented 2 years ago

I've the same problem