You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the source map file, I found the sources field that is pointing to the source location (such as https://cdn.jsdelivr.net/npm/ky@0.28.6/distribution/index.js.map). But the source folder is not inclued in the published package.
When using some esm bundlers such as Vite, the dev server could not find the source file and finally response error with code 404.
There is 2 resolution:
Set the inlineSources option to true in tsconfig.dist.json
Add source to the files field in package.json
The text was updated successfully, but these errors were encountered:
In the source map file, I found the
sources
field that is pointing to the source location (such as https://cdn.jsdelivr.net/npm/ky@0.28.6/distribution/index.js.map). But the source folder is not inclued in the published package.When using some esm bundlers such as
Vite
, the dev server could not find the source file and finally response error with code 404.There is 2 resolution:
inlineSources
option to true in tsconfig.dist.jsonsource
to thefiles
field in package.jsonThe text was updated successfully, but these errors were encountered: