辛宝Otto

辛宝Otto 的玄酒清谈

北漂前端程序员儿 / 探索新事物 / Web Worker 主播之一/内向话痨
xiaoyuzhou
email

06-Speedpass Syntax 635 lightningcss

Audio cannot be played? You can listen through the following methods:

IPFS - ipfs://bafybeifoxnyjggffclzjnmbxfbhsuounv3sfcpxrqong6xo2gwp4sgd62u

This episode has a duration of 14 minutes, which is relatively short and safe to listen to.

Introduction

In this episode, we will be reading "syntax.fm 635 - lightning css".

Lightning CSS is a CSS tool written in Rust, similar to EsBuild in the JavaScript domain.

Their tagline is an extremely fast CSS parser, transformer, bundler, and minifier.

The author is the creator of parcel, so the developer experience is quite satisfactory and trustworthy.

For example:

  • CSS colors, support for different color spaces and more colors
  • Nested syntax
  • Updated browser compatibility list and prefixes
  • CSS color function
  • CSS modules
  • CSS layers
  • Text decoration

The host mentioned, "Should we be using lightning CSS in Vite to make it even faster?"

As a result, Vite v4.4 announced experimental support for Lightning CSS.

As early as last year's ViteConf, Evan You mentioned the possibility of using Lightning CSS to replace PostCSS in the future. Here's an image I have.

image

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.