Closed YellowKirby closed 2 months ago
Fix conflicts plz
@tallboy :shipit: 🙏
This PR seems to have broken the deployment through Cloudflare, but I don't have a way to look at the errors/logs to figure out what's going wrong :(
https://github.com/tallboy/snowgo.at/commit/df003d706596e464044216b554c9ec460031b68e
Because where's the fun in building a webapp if you're not going to use shiny new tooling all the time?
Swaps out the old gulp-based workflow for Parcel, which covers pretty much everything we need with zero configuration. This should help us with more complex things in the future like adding in GOAT templating (#2) and better performance by serving ES modules to browsers that support it.
Note that with this commit alone, the bundle size is worse than it used to be. Parcel's image optimization is lossless by default and doesn't minify the massive 4.4MB
tyler-paulo.jpg
as much as the imagemin-based approach (#15). This will be fixed up in a future commit.Also there's a slight dev workflow change here, but overall should be simpler:
npm start
to run the dev servernpm run build
to build for production