Closed pinggi closed 2 years ago
hi @pinggi ,
Thank you for your issue. Which version of create-react-app are you using? I have some source map available in my dist folder when I build the library:
I use version 5.0.0.
yarn add @axa-fr/react-oidc-context
If I open node_modules/@axa-fr/react-oidc-context/dist/vanilla/oidc.d.ts.map
file for example, I can see the source path leads to ../../src/oidc/vanilla/oidc.ts
which resolves to node_modules/@axa-fr/react-oidc-context/src/oidc/vanilla/oidc.ts
- I don't have the file there (the src
folder is missing there).
May be it is link to #723 ?
Hi, i understand the problem. I will investigate.
I just push a fix to include src folder to npm publish. Thank you very much for your issue !
I close the PullRequest @pinggi , feel free to reopen it if you need it. Thank you very much for your help !
Issue and Steps to Reproduce
The source maps are enabled, but Typescript files are missing in the
node_modules/@axa-fr/react-oidc-context/dist
folder. The browser is unable to load the file when debugging an error/exception.Versions
"@axa-fr/react-oidc-context": "^4.5.8" (4.5.8 in yarn.lock)
Expected
The Typescript files are there or source maps are disabled.