Last active
August 2, 2021 00:17
-
-
Save nolanlawson/24de158f60467d832d91347963c3c454 to your computer and use it in GitHub Desktop.
Measure emoji-picker-element size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mkdir -p /tmp/tmp | |
cd /tmp/tmp | |
npm init --yes | |
npm install emoji-picker-element@1.6.6 rollup@2.55.1 brotli-size-cli@1.0.0 terser@5.7.1 | |
npx rollup --input ./node_modules/emoji-picker-element/index.js | npx terser -mc | npx brotli-size | |
npx rollup --input ./node_modules/emoji-picker-element/svelte.js | npx terser -mc | npx brotli-size | |
rm -fr /tmp/tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment