May 22nd, 2023 × #nodejs#webdev#javascript
Why Is node_modules So Big?
Discussion on why Node.js node_modules folders get so large and what actually takes up most of the space inside them.
In this Hasty Treat, Scott and Wes talk about the reasons your node_modules folder gets so large, and what you can do to help keep the file size down.
Show Notes
- 00:24 Welcome
- 00:51 The punching bag of Javascript
- DaisyDisk
- 02:03 Spoiler alert - it's text
- 04:49 What actually increases the size?
- 07:29 Types
- 09:27 Polyfills
- 11:09 Raycast Snippets and BetterTouchTool
- 12:44 Babel
- 15:08 Markdown
- 15:52 Translations
- 18:23 What is the solution?
- Raycast
- Bundlephobia | Size of npm dependencies
- Better Touch Tool
- Fast, disk space efficient package manager | pnpm
Tweet us your tasty treats
- Scott's Instagram
- LevelUpTutorials Instagram
- Wes' Instagram
- Wes' Twitter
- Wes' Facebook
- Scott's Twitter
- Make sure to include @SyntaxFM in your tweets
- Wes Bos on Bluesky
- Scott on Bluesky
- Syntax on Bluesky