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

Migrate from tsc to rollup for the build process #23

Merged
merged 3 commits into from
Sep 11, 2023
Merged

Conversation

yen-tt
Copy link
Collaborator

@yen-tt yen-tt commented Sep 8, 2023

this PR migrates the build chain from tsc to rollup, as part of the changes discovered in the investigation from this PR:

in short, using rollup, the esm path files now include .mjs extensions and we no longer need "type": "module" in our package.json.

J=CLIP-556
TEST=manual

see that all unit tests and the the two test repo, node-cjs, and brower-esm, still works as expected
published an alpha version [0.7.0-alpha.23](https://www.npmjs.com/package/@yext/chat-core/v/0.7.0-alpha.23), and see that it still works as expected in vite/pagesjs and sonic/alpha.

Will publish v0.7.0 once merged

@yen-tt yen-tt requested a review from a team as a code owner September 8, 2023 20:09
@yen-tt yen-tt changed the title wip Migrate from tsc to rollup for the build process Sep 11, 2023
@yen-tt yen-tt merged commit 3605ea2 into main Sep 11, 2023
6 checks passed
@yen-tt yen-tt deleted the dev/rollup-bundle branch September 11, 2023 19:36
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.

2 participants