Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

Manual autoprefixer

by Roy Revelt   ·   posted on Saturday, 20 August 2022   ·   a thought

Codsen.com runs on Remix, the framework which won’t process anything CSS-related. To scale the styling task, some people use Tailwind; I use good old SASSopens in a new tab on style-dictionaryopens in a new tab design tokens. SASS CLI watches the styles folder with .scss files from outside Remix and places the processed files inside the Remix project folder. From Remix’s point of view, CSS files just magically appear and update themselves.

Enter Autoprefixeropens in a new tab. It doesn’t fit into this workflow! We either need to set up a proper JS-script pipeline (à la Gulp) or, two-level setup with an intermediary folder where Autoprefixer CLI’s watches the output of SASS directory (so two CLI’s watching), or some fancy terminal pipe contraption.

None of the options seem suitable.

The alternative is to run VSCode pluginopens in a new tab manually, on .scss files.

Fig 1. Autoprefixer in VSCode
Fig 1. Autoprefixer in VSCode

I’m OK with that, this website needs to be simple.

↑ back to top
older newer

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab