Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sourcemap points to excluded ../src/index.ts file #426

Closed
mbaertschi opened this issue Sep 23, 2022 · 2 comments
Closed

Sourcemap points to excluded ../src/index.ts file #426

mbaertschi opened this issue Sep 23, 2022 · 2 comments

Comments

@mbaertschi
Copy link

Hi

Thanks for the great module!

I found an issue with the generated dist/index.js.map file. The sources attribute points to ../src/index.ts. However, src directory is not included in your npm package. Thus if I use this module with nuxt3 I get the following error message:

  vite:sourcemap Missing sources:
  vite:sourcemap   /path/to/project/node_modules/ical-generator/src/index.ts

Could you either include src directory in npm packge or make sure that the sources attribute points to ./index.js?

Thanks

@sebbo2002 sebbo2002 self-assigned this Sep 24, 2022
@sebbo2002 sebbo2002 added the bug label Sep 24, 2022
@sebbo2002 sebbo2002 mentioned this issue Sep 24, 2022
github-actions bot pushed a commit that referenced this issue Sep 24, 2022
## [3.5.2-develop.2](v3.5.2-develop.1...v3.5.2-develop.2) (2022-09-24)

### Bug Fixes

* Include source files in npm module to allow sourcemap resolving ([2760b75](2760b75)), closes [#426](#426)
@sebbo2002
Copy link
Owner

🎉 This issue has been resolved in version 3.5.2-develop.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Sep 24, 2022
## [3.5.2](v3.5.1...v3.5.2) (2022-09-24)

### Bug Fixes

* Include source files in npm module to allow sourcemap resolving ([2760b75](2760b75)), closes [#426](#426)
@sebbo2002
Copy link
Owner

🎉 This issue has been resolved in version 3.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants