Closed DanielSchiavini closed 5 months ago
i'm not convinced we want the complexity of introducing minification into the build process. fwiw after compression the minified version saves 900 bytes:
(boa) ~/titanoboa $ gzip -v < boa/integrations/jupyter/jupyter.js | wc
61.7%
6 47 1822
(boa) ~/titanoboa $ gzip -v < boa/integrations/jupyter/jupyter.min.js | wc
47.0%
3 19 949
code review note: discussed refactoring the jupyter.js file into a full-on extension, but it seems to introduce more complexity than it is worth.
just tested this -- works amazing! and it's deployed to try.vyperlang.org now :)
What I did
Improved the jupyter plugin performance considerably Fixed the empty elements while calling javascript
How I did it
npx uglify-js --mangle -o jupyter.min.js -- jupyter.js
How to verify it
Description for the changelog
Cute Animal Picture