rockerest’s avatarrockerest’s Twitter Archive—№ 10,452

  1. …in reply to @kenhowardpdx
    kenhowardpdx Here's one that does too much (literally just searched on GitHub, found a big file): github.com/getsentry/zeus/blob/c8238654c3ec8ef35f058042eb8e571b3a02be89/config/webpack.config.js and one that is reasonable: github.com/indylabs/karmakart/blob/d5cce318153678e2067b254f07ba98a6eb021aa8/client/webpack.client.config.js Key here is not that they're very different projects, but that the smaller one doesn't try to jam every task in
    OpenGraph image for github.com/getsentry/zeus/blob/c8238654c3ec8ef35f058042eb8e571b3a02be89/config/webpack.config.jsOpenGraph image for github.com/indylabs/karmakart/blob/d5cce318153678e2067b254f07ba98a6eb021aa8/client/webpack.client.config.js
    1. …in reply to @rockerest
      kenhowardpdx NB: the latter project (aside: found the same way - search, find small file) *still has* the things that are jammed into the former - linting, et. al. They're just - reasonably - split into separate tasks. Webpack is a *bundler* and should not be used as *the* task runner.
      1. …in reply to @rockerest
        kenhowardpdx I can't post links for obvious reasons, but here's an internal project I switched from Webpack to Rollup - project still has all the "goodies": CSS autoprefixer, linting, etc. It's just not all smashed into one single dependency. Didn't need to touch any of that stuff to switch.
        oh my god twitter doesn’t include alt text from images in their API