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

Add build scripts to generate source maps #2202

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jar-stripe
Copy link
Contributor

Why?

When debugging into the Stripe SDK from a project or script, it can be useful to have the JS source maps so that you can step into and inspect the original Typescript source. This PR adds build scripts into package.json to build the cjs and esm packages with source maps.

What?

  • added build-dev, build-esm-dev, and build-cjs-dev yarn build scripts; these are mirrors of build, build-esm, and build-cjs that also pass --sourceMap true to tsc

@jar-stripe jar-stripe requested a review from a team as a code owner October 4, 2024 16:52
@jar-stripe jar-stripe requested review from helenye-stripe and removed request for a team October 4, 2024 16:52
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

Successfully merging this pull request may close these issues.

3 participants