Skip to content

Releases: web-infra-dev/rslib

v0.9.2

06 Jun 10:01
1db2a04
Compare
Choose a tag to compare

Highlights ✨

We have simplified the ESM output, see the comparison in the figure below.

No __webpack_exports__ and __WEBPACK_EXTERNAL_MODULE_ now!

ESM output

What's Changed

New Features 🎉

Document 📖

Other Changes

Full Changelog: v0.9.1...v0.9.2

v0.9.1

29 May 06:12
f3686bf
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix(shims): require shims should inject to mjs as well by @fi3ework in #1032

Document 📖

Other Changes

Full Changelog: v0.9.0...v0.9.1

v0.9.0

27 May 07:09
352c715
Compare
Choose a tag to compare

Highlights ✨

This release brings exciting new features to Rslib:

Vue support

Rslib now provides support for building Vue component libraries by integrating unplugin-vue. Checkout Solution - Vue to learn how to build a Vue component library using Rslib. Additionally, storybook-vue3-rsbuild is provided for Vue3 Storybook support.

Vue support

What's Changed

New Features 🎉

Performance 🚀

Document 📖

Other Changes

Full Changelog: v0.8.0...v0.9.0

v0.8.0

20 May 11:37
cb5c2d7
Compare
Choose a tag to compare

Highlights ✨

IIFE Format Support

Set format to 'iife' to generate IIFE JavaScript output which stands for "immediately-invoked function expression" and is intended to be run in the browser, see IIFE for more details.

source code

// parent-sdk is marked as externals
// externals: ['parent-sdk']
import { version } from 'parent-sdk';
alert(version);

output

(
  () => {
    'use strict';
    const external_parent_sdk_namespaceObject = globalThis['parent-sdk'];
    alert(external_parent_sdk_namespaceObject.version);
  },
)();

What's Changed

New Features 🎉

Document 📖

Other Changes

Full Changelog: v0.7.1...v0.8.0

v0.7.1

14 May 12:38
06bd7cf
Compare
Choose a tag to compare

Highlights ✨

In 0.7.0, due to breaking changes in @ast-grep/napi, Ubuntu 20 is not supported if user enable dts generation.

This version revert this.

What's Changed

Document 📖

Other Changes

Full Changelog: v0.7.0...v0.7.1

v0.7.0

13 May 13:02
db948ea
Compare
Choose a tag to compare

Highlights ✨

banner

First blog for Rslib 📚

Check out our first blog for Rslib: Rslib: Build library with Rspack

We are excited to introduce Rslib — a library development tool based on Rspack. Developed by ByteDance Web Infra Team, Rslib helps developers create JavaScript libraries and UI component libraries in a simple and intuitive way while enjoying the ultimate development experience brought by Rspack and Rsbuild.

Breaking changes 🚨

Reverted in v0.7.1.

Due to breaking changes in @ast-grep/napi, Ubuntu 20 is not supported now if user enable dts generation.

Update to Ubuntu 22 or higher if possible, reference: ast-grep/ast-grep@96f5500.

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix(create-rslib): do not pin Rsbuild version by @fi3ework in #981

Other Changes

Full Changelog: v0.6.9...v0.7.0

v0.6.9

09 May 08:50
e285e79
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Document 📖

Other Changes

Full Changelog: v0.6.8...v0.6.9

v0.6.8

30 Apr 10:59
5cb5936
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.6.7...v0.6.8

v0.6.7

23 Apr 03:45
e427222
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Other Changes

Full Changelog: v0.6.6...v0.6.7

v0.6.6

22 Apr 13:41
c3f7a7f
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Other Changes

Full Changelog: v0.6.5...v0.6.6