Skip to content

v2.1.3

Latest

Choose a tag to compare

@chenjiahan chenjiahan released this 02 Jul 09:47
fa4ba28

Highlights

Import Attributes type: 'text'

Rsbuild now supports the import attributes syntax with { type: 'text' } for importing file contents as source text:

import rawCSS from './example.css' with { type: 'text' };

This aligns with the TC39 Import Text proposal.

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v2.1.2...v2.1.3