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

Improve build steps for TypeScript migration #323

Merged
merged 3 commits into from
Mar 30, 2021

Conversation

jdtzmn
Copy link
Contributor

@jdtzmn jdtzmn commented Mar 24, 2021

  • Build optimal distribution files for CommonJS, ESM, and browser bundles.

  • Add ”types” option to package.json to expose TypeScript declaration files

  • Specify ”module” path for ESM module support

Closes #322.

@jdtzmn jdtzmn force-pushed the jacob/typescript-build-steps branch from 12b112a to 89b7451 Compare March 24, 2021 15:54
@jdtzmn jdtzmn force-pushed the jacob/typescript-build-steps branch from 89b7451 to 0f11ae0 Compare March 29, 2021 13:52
* Use `umd` library for Node.js and browser support

* Add `”types”` option to `package.json` to expose TypeScript declaration files

* Specify `”module”` path for ESM module support
@jdtzmn jdtzmn force-pushed the jacob/typescript-build-steps branch 2 times, most recently from fe4ca06 to 601aee2 Compare March 29, 2021 18:53
@jdtzmn jdtzmn merged commit 49bd2bc into develop Mar 30, 2021
@jdtzmn jdtzmn deleted the jacob/typescript-build-steps branch March 30, 2021 20:38
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.

TypeScript migration requires new build steps
2 participants