Skip to content

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