Skip to content

build: bundle with Vite - #112

Merged
kvvasuu merged 1 commit into
mainfrom
build/vite
Oct 4, 2026
Merged

kvvasuu merged 1 commit into
mainfrom
build/vite

Conversation

@kvvasuu

@kvvasuu kvvasuu commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

The package was built with plain tsc. It now builds with Vite in library mode

@kvvasuu
kvvasuu added this pull request to stack #113 October 4, 2026 20:56
Base automatically changed from refactor/namespaced-core-api to main October 4, 2026 20:58
Vite builds one file per source file, so dist and the package exports stay the same, and tsc writes the declarations with a script that adds .js to their imports. Sources drop the .js from imports, and the package is marked side-effect free.
@kvvasuu
kvvasuu merged commit d438d7e into main Oct 4, 2026
1 check passed
@kvvasuu
kvvasuu deleted the build/vite branch October 4, 2026 21:20
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