I’ve been going buildless—or as Brad crudely puts it, raw-dogging websites on a few projects recently. Not just obviously simple things like Clearleft’s Browser Support page, but sites like:
They also have 0 dependencies.
Funnily enough, many build tools advertise their superior “Developer Experience” (DX). For my money, there’s no better DX than shipping code straight to the browser and not having to worry about some cryptic
node_modules
error in between.
Making websites without a build step is a gift to your future self. When you open that project six months or a year or two years later, there’ll be no faffing about with npm
updates, installs, or vulnerabilities.
Need to edit the CSS? You edit the CSS. Need to change the markup? You change the markup.
It’s remarkably freeing. It’s also very, very performant.
If you’re thinking that your next project couldn’t possibly be made without a build step, let me tell you about a phrase I first heard in the indie web community: “Manual ‘till it hurts”. It’s basically a two-step process:
- Start doing what you need to do by hand.
- When that becomes unworkable, introduce some kind of automation.
It’s remarkable how often you never reach step two.
I’m not saying premature optimisation is the root of all evil. I’m just saying it’s premature.
Start simple. Get more complex if and when you need to.
You might never need to.
25 Shares
# Shared by SaptakS on Sunday, September 8th, 2024 at 10:34am
# Shared by Peter Goulborn on Sunday, September 8th, 2024 at 10:34am
# Shared by Choan Gálvez on Sunday, September 8th, 2024 at 11:05am
# Shared by Myles Eftos on Sunday, September 8th, 2024 at 11:05am
# Shared by Walter on Sunday, September 8th, 2024 at 11:05am
# Shared by Caspar Fairhall on Sunday, September 8th, 2024 at 11:05am
# Shared by Johannes Odland on Sunday, September 8th, 2024 at 11:05am
# Shared by Sami Määttä on Sunday, September 8th, 2024 at 11:05am
# Shared by David O'Brien on Sunday, September 8th, 2024 at 11:30am
# Shared by Lucid00 on Sunday, September 8th, 2024 at 12:01pm
# Shared by TuulaP on Sunday, September 8th, 2024 at 12:01pm
# Shared by Chriztian Steinmeier on Sunday, September 8th, 2024 at 12:01pm
# Shared by Thinker on Sunday, September 8th, 2024 at 12:30pm
# Shared by United Mystery Puzzle Solvers on Sunday, September 8th, 2024 at 1:00pm
# Shared by Jon Lunman on Sunday, September 8th, 2024 at 4:24pm
# Shared by Florian Ziegler on Sunday, September 8th, 2024 at 6:34pm
# Shared by juanjobnt on Monday, September 9th, 2024 at 9:09am
# Shared by Fynn Becker on Monday, September 9th, 2024 at 8:54pm
# Shared by Sara Joy :happy_pepper: on Monday, September 9th, 2024 at 8:54pm
# Shared by Nick Sherman on Monday, September 9th, 2024 at 8:54pm
# Shared by Adrian Cochrane on Monday, September 9th, 2024 at 9:27pm
# Shared by Jill on Monday, September 9th, 2024 at 10:01pm
# Shared by David Hayes :prami: on Monday, September 9th, 2024 at 10:01pm
# Shared by Kristof Zerbe on Monday, September 9th, 2024 at 10:54pm
# Shared by JC Simpson on Sunday, September 15th, 2024 at 5:51pm