Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Measure emoji-picker-element size
#!/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