web-infra-dev / rslib

Create JavaScript libraries in a simple and intuitive way.
https://lib.rsbuild.dev/
MIT License
392 stars 20 forks source link

fix: map syntax "es6" to "es2015" #323

Closed wChenonly closed 1 week ago

wChenonly commented 1 week ago

Summary

Related Links

fix: #322

Checklist

Timeless0911 commented 1 week ago

Can you write an unit test in https://github.com/web-infra-dev/rslib/blob/8ffe5da4360f878723a70b266aca68b0e86d2023/packages/core/tests/syntax.test.ts#L154

codspeed-hq[bot] commented 1 week ago

CodSpeed Performance Report

Merging #323 will not alter performance

Comparing wChenonly:main (09ef5a1) with main (6d74e88)

Summary

✅ 5 untouched benchmarks

wChenonly commented 1 week ago

Can you write an unit test in

https://github.com/web-infra-dev/rslib/blob/8ffe5da4360f878723a70b266aca68b0e86d2023/packages/core/tests/syntax.test.ts#L154