{"id":374,"date":"2024-01-07T20:30:19","date_gmt":"2024-01-07T20:30:19","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=374"},"modified":"2024-01-07T20:30:19","modified_gmt":"2024-01-07T20:30:19","slug":"postcss-alternative","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/postcss-alternative\/","title":{"rendered":"PostCSS Alternative"},"content":{"rendered":"\n<p>After I wrote up my <a href=\"https:\/\/frontendmasters.com\/blog\/fine-ill-use-a-super-basic-css-processing-setup\/\">Basic CSS Processing Setup<\/a> that used <a href=\"https:\/\/lightningcss.dev\/\">Lightning CSS<\/a>, Michael Bishop <a href=\"https:\/\/michaelbishop.me\/article\/postcss-superbasic-css-processing\">responded<\/a> saying he uses <a href=\"https:\/\/github.com\/postcss\/postcss\">PostCSS<\/a> for essentially the same thing, with <a href=\"https:\/\/github.com\/miklb\/simple-postcss-setup\">a forked repo<\/a> demonstrating. I think Michael has a good point that PostCSS has a built-in watcher which simplifies the setup nicely. And <a href=\"https:\/\/www.npmjs.com\/package\/postcss-preset-env\">postcss-preset-env<\/a> is very similar in spirit, but you don&#8217;t get the bundling without another plugin, and you don&#8217;t get the minification. So like all things development: it&#8217;s a trade-off. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>After I wrote up my Basic CSS Processing Setup that used Lightning CSS, Michael Bishop responded saying he uses PostCSS for essentially the same thing, with a forked repo demonstrating. I think Michael has a good point that PostCSS has a built-in watcher which simplifies the setup nicely. And postcss-preset-env is very similar in spirit, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":375,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[34,7,60],"class_list":["post-374","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-build-process","tag-css","tag-postcss"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2024\/01\/preset-env-thumb.jpg?fit=1000%2C500&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=374"}],"version-history":[{"count":1,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/374\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/374\/revisions\/376"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/375"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}