Is your node_moduless less than 150mb
-
-
I poke fun, because this has gotten ridiculous, in 150mb of files only 1.5mb is actually .js files
8 replies 4 retweets 46 likesShow this thread -
Replying to @tjholowaychuk
I went on a spree of adding better .npmignore files and was surprised how much push back I got :/ Even one dev finding my PRs across repos to comment that "tests, docs should be on npm"
1 reply 0 retweets 4 likes -
Replying to @southpolesteve @tjholowaychuk
I have mixed feelings about this. Shipping tests and docs in the npm module can improve ux... Bloat should be really considered though With more aggressive caching and perhaps something like roll-up I see it as less of a problem
4 replies 0 retweets 1 like -
Replying to @MylesBorins @tjholowaychuk
That's the solution for FaaS. We use webpack to package all our Lambda deployments. Largely because of this exact issue.
1 reply 0 retweets 2 likes -
Replying to @southpolesteve @MylesBorins
yeah you kind of have to, even due to the require() overhead, but it would be nice to avoid since it's kind of ugly UX-wise, definitely a hack
2 replies 0 retweets 0 likes -
Replying to @tjholowaychuk @southpolesteve
sMyle Retweeted Yang Guo
There are conversations happening about how we can support startup snapshots at a platform level Gets weird for dynamic dependencies / native modules thoughhttps://twitter.com/hashseed/status/930889176245002240 …
sMyle added,
2 replies 0 retweets 2 likes
super excited to see where that goes!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.