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

[javascript] Add es modules build #1179

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arjunyel
Copy link
Contributor

@arjunyel arjunyel commented Jan 29, 2024

Motivation

Add ES module build, based on #1180 1180

Solution

Used tsup to bundle. I know the Svix team uses Vite in other projects but Vite is designed for frontend projects and libraries:

Library mode includes a simple and opinionated configuration for browser-oriented and JS framework libraries. If you are building non-browser libraries, or require advanced build flows, you can use Rollup or esbuild directly.

https://vitejs.dev/guide/build#library-mode

@arjunyel arjunyel force-pushed the es-modules-2 branch 2 times, most recently from 84d4267 to b273d75 Compare January 29, 2024 17:42
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.

1 participant