TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Increase Your Page Size by 1,500% with Webpack and Vue

49 pointsby Zweihanderalmost 6 years ago

4 comments

sparrishalmost 6 years ago
My favorite quote from the article:<p>&quot;As a side note, the next time you think about refactoring something, don’t. Just leave it alone. If you don’t leave any technical debt for the next generation, they’re going to be extremely bored and that’s going to be on you.&quot;
samspencalmost 6 years ago
TL;DR (hopefully I&#x27;m getting this right): the issue was that Vue.js creates scoped styles, and because the Sass styles were imported into every VueJS component, it rendered (and duplicated) the CSS in every component at runtime.
baybal2almost 6 years ago
I like Vue, but I don&#x27;t like aggressive webpack+babel pushing.<p>What&#x27;s the use of a module loading&#x2F;splitting script that ends up with net increase of your bundle over non compresses&#x2F;pruned JS <i>every</i> time?
lozengealmost 6 years ago
Cute article.