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

chore(build): enable minification for iife build #235

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Sep 17, 2023

I was trying to reduce my bundle size by loading zxcvbn-ts from the CDN, and I noticed that the dist/zxcvbn-ts.js files are not minified.

The PR updates the rollup configuration by adding dist/zxcvbn-ts.min.js and zxcvbn-ts.min.js.map, minified by @rollup/plugin-terser.

@MrWook MrWook merged commit 5d62c88 into zxcvbn-ts:master Sep 17, 2023
6 checks passed
@SukkaW
Copy link
Contributor Author

SukkaW commented Sep 18, 2023

Confirmed the minified build is available on the jsDelivr:

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