Skip to content

Reduce bundle by throwing instead of using assert #1

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

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

Conversation

Gobie
Copy link

@Gobie Gobie commented Feb 14, 2023

difflib-browser.js can be reduced from 26kB to 13kB by simply throwing error instead of requiring assert package.

@Skilles
Copy link

Skilles commented Aug 28, 2023

Only thing that keeps me from using this package (and those that depend on it) is the assert dependency. If it can be removed that would be amazing

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