shakes out functions that I used
See original GitHub issueI’m not sure if this plugin in production ready yet, but it seems that it removed functions that I’m definitely using.
Using import to get the modules, but running babel as a browserify transform, so that should rewrite everything to require.
seems that most of the incorrectly removed functions are from the crypto-browserify
package.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Tree shaking: are unused functions included to a bundle?
Do modern bundlers like Webpack or Rollup shake out only unused modules or are they capable of removing unused functions (or variables, ...
Read more >How to Use (& Disable) Shake to Undo on iPhone - YouTube
Did you know you can shake your iPhone to undo typing, deleting an email, and other actions? Watch this tutorial to learn how...
Read more >JavaScript tree shaking, like a pro | by Daniel Brain - Medium
Tree shaking in JavaScript is becoming an essential practice, to avoid large bundle sizes and improve performance.
Read more >How to use 'Shake to Undo' typing on iPhone - Mashable
With Shake to Undo turned on, iOS users can quickly fix mistakes, such as shake to undo typing in a text, shake to...
Read more >Can Shaking Help You Heal Stress & Trauma? Some Experts ...
Shaking therapy can be performed seated or standing. Focus on particular parts of the body, simply shaking it out.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi - I’m running into this issue too - I threw together a project that reproduces the issue here: https://github.com/retail-robot/common-shakeify-issue-12-repro
You should be able to clone it and just
npm install
+npm run build
hi! we just ran into this too with the sbd library.
it is stripping out
/lib/Match.js:isCaptialized
, even though that function is called viathis
within the code.