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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Let's talk about an ideal webdev workflow without build scripts. We're so close

3 点作者 technojunkie将近 2 年前
Just imagine, no more gulp, webpack, rollup, parcel, snowpack, vite... You just fire up your editor and everything is ready in a modern browser.<p>What does this look like? What is missing for this to be a reality?

4 条评论

technojunkie将近 2 年前
When 2025 rolls around, I can see the following:<p>1. Foremost, HTML Modules allow importing HTML files natively, that&#x27;s key. New components are more stable, more accessible, and widely supported. Web Components are more stable than ever.<p>2. The most popular features of Sass&#x2F;Scss are added into core CSS by this point<p>3. With broad support of features like :has, @scope, @property, subgrid, anchor positioning, MPA view transitions, and lots more<p>4. Modern JS is stable, most new versions are incremental in the 2020s.
pags将近 2 年前
It’s already a reality, I was doing it about ten years ago.<p>require.js was a big piece of the puzzle, allowing the use of modules in browser without a build step.<p>The only time a “build” happened was to concat&#x2F;minify scripts for production release, but even this wasn’t strictly necessary.<p>There were other pieces involved, but we had a powerful stack (aforementioned modules, css preprocessing, reactive templating) that had a faster and easier workflow than anything happening today.
doix将近 2 年前
I mean, you can do this today right now. The &quot;problem&quot; is that many people rely on frameworks. Frameworks have dependencies, so you need something to manage them. Then you need a way to make sure that you have no namespace collisions.<p>You probably want to optimize your your build to not include code from libraries that you aren&#x27;t using.<p>Boom, you&#x27;ve recreated modern build tools.
sacrosanct将近 2 年前
I think the reason is because employers are putting in various requirements for a job. &#x27;Must be proficient with React&#x27; or &#x27;Must have experience with $FrameworkOfTheDay&#x27; is a common occurrence. Really, all you need experience with is HTML+CSS+JS&#x2F;jQuery and maybe PHP for back-end stuff. You can build anything with that stack.