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

Publish sourcemaps #138

Open
jasonLaster opened this issue Dec 23, 2020 · 4 comments
Open

Publish sourcemaps #138

jasonLaster opened this issue Dec 23, 2020 · 4 comments

Comments

@jasonLaster
Copy link
Contributor

It looks like sourcemaps are created, but not published, which makes it difficult to understand what the library is doing.

@patrick91
Copy link
Contributor

Related to this, type definitions are not published too :)

@Swizec
Copy link
Owner

Swizec commented Dec 30, 2020

Strange, wonder what I misconfigured 🤔

@patrick91
Copy link
Contributor

For typescript: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

Looks like we need:

  "types": "./dist/index.d.ts"

since the package lives inside dist.

I think that should be enough :)

@Swizec
Copy link
Owner

Swizec commented Dec 31, 2020

Ok published 2.0.4 which now publishes types.

Having trouble finding info on how to publish sourcemaps. Tried generating inline but it bloated filesize more than felt like a good idea.

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

No branches or pull requests

3 participants