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 @MylesBorins
I long for the days of no build step with node. When v8+ lands on Lambda I may get there. Will still have to figure out what to do about es6 modules...
2 replies 1 retweet 0 likes -
Replying to @southpolesteve @tjholowaychuk
We are working on some really exciting stuff for gcp. Mind if I hop in your dms?
1 reply 0 retweets 0 likes
go for it! DM me anytime. We should prob chat in person on my next NYC trip too!
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.