辛宝Otto

辛宝Otto 的玄酒清谈

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

06-Quick Pass Syntax 635 lightningcss

速通 Syntax.fm 635 lightningcss
速通 Syntax.fm 635 lightningcss
辛宝Otto

Can't listen to the audio? You can listen through the following ways:

IPFS - ipfs://bafybeifoxnyjggffclzjnmbxfbhsuounv3sfcpxrqong6xo2gwp4sgd62u

This episode lasts for 14 minutes, which is relatively short and safe to listen to.

Introduction#

In this episode, we will discuss "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.
他们的标语是一个非常快速的 CSS 解析器、转换器、构建工具和压缩器。

The author is the creator of parcel, so they are quite satisfied with the developer experience and are also 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 the experimental support for Lightning CSS.

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

image

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