TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Getting Started with Webpack 2

28 点作者 sztwiorok超过 8 年前

3 条评论

saosebastiao超过 8 年前
&gt; However, since its release it’s evolved into a manager of all your front-end code (either intentionally or by the community’s will).<p>This pops up everywhere in JS-land. Someone writes a small tool that does one thing well, and all of a sudden there is some barf-sandwich plugin system with 300k unmaintained plugins and documentation scattered across readmes, wikis, and blog posts. It ends up sucking all of your energy, because it never does 100% of what you want, but it gets to a good 70% before you install some other tool that does the remaining 30% and because it doesn&#x27;t play nice with everything else it breaks the former. It&#x27;s exhausting.<p>IMO, this is what happens when you take the unix philosophy too far. Maybe sometimes a monolith that solves multiple cross-cutting concerns is warranted. I mean, if all the community wants to do with your small tool that does one thing well is to take it and turn it into a shitty underdesigned monolith, why not just plan on it being a monolith from the beginning?
评论 #12874124 未加载
taspeotis超过 8 年前
Previous discussion [1].<p><pre><code> Getting Started with Webpack 2 (madewithenvy.com) 98 points by gregorymichael 2 days ago </code></pre> [1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12851864" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12851864</a>
Randgalt超过 8 年前
Wow - this comes at a perfect time for me as I&#x27;m just learning about Webpack. Thank you!