Skip to content

Conversation

@folknor
Copy link
Contributor

@folknor folknor commented Jul 10, 2025

Hi

This commit contains some of the changes I talk about it #446

It changes the build to use swc instead of babel+terser, but keeps the dist/ and demo/ as a CJS instead of ESM, and keeps compatibility with es2015 (es3).

It also removes nodent, removes rollup-plugin-cleanup, rebuilds dist/ and demo/, and limits the analytics to only print once.

I've tested the resulting build in my app and it works fine there :-)

Thank you

…nifying

- Only print analytics once per build
- Rebuild dist and demo
- Removed nodent, should no longer be necessary
- Remove rollup-plugin-cleanup, minifying from swc does it
@folknor
Copy link
Contributor Author

folknor commented Jul 10, 2025

You can pick either this, or #445 - or none of them, but you can't pick both :-)

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