What's Changed
- refactor: improve logic of
render_preliminary_assetsand add more comments by @hyf0 in #1622 - test(format/iife): add case of importing external modules by @hyf0 in #1624
- refactor: use
ArcStreverywhere by @hyf0 in #1626 - feat: support output.name for iife by @underfin in #1627
- chore(deps): update npm-rolldown by @renovate in #1615
- feat(wip/css): use lightningcss as css compiler by @hyf0 in #1629
- refactor(rust): stop deriving
CloneonModuleTypeby @hyf0 in #1631 - feat(rust): Support accepting custom
ModuleTypeby @hyf0 in #1632 - refactor(rust): tweak the data flow of
ModuleTypeby @hyf0 in #1633 - chore(deps): update rust crate oxc_resolver to v1.10.1 by @renovate in #1635
- chore: update
.prettierignoreby @hyf0 in #1636 - chore(deps): update rust crate oxc_resolver to v1.10.2 by @renovate in #1638
- chore: add more comments on
ImportRecordby @hyf0 in #1640 - chore: add remapping benchmark by @underfin in #1637
- feat: throw friendly warning message for ambiguous export by @shulaoda in #1634
- perf(sourcemap): lookup original token in parallel by @underfin in #1596
- refactor: rename
BuildErrortoBuildDiagnosticby @IWANABETHATGUY in #1641 - fix(node): fix type errors by @hi-ogawa in #1642
- feat: support banner hook by @komyg in #1419
- refactor: separate render chunk logic for different format by @underfin in #1644
- refactor(rust): improve naming related to
ModuleDefFormatby @hyf0 in #1645 - refactor(rust/resolver): handle bundle-related resolve errors in one place by @hyf0 in #1646
- refactor(rust/resolver): rename
ResolvedRequestInfotoResolvedIdby @hyf0 in #1647 - refactor(rust/resolver): make
EcmaModuleTaskholdResolveIddirectly by @hyf0 in #1648 - refactor(rust/resolver): remove unnecessary
ResolvedPathby @hyf0 in #1649 - refactor: add abstraction for rendering chunk imports targeting different format by @underfin in #1651
- refactor(rust): rename
ResourceIdtoModuleIdby @hyf0 in #1650 - refactor(rust): change
pub mod formattomod formatby @hyf0 in #1652 - refactor(rust): introduce
ModuleFactorytrait by @hyf0 in #1653 - chore: remove unreachable code by @IWANABETHATGUY in #1654
- fix: support banner/footer sync function by @underfin in #1657
- refactor: remove collapse_sourcemaps optional result by @underfin in #1658
- fix: external warning in dce/disable-tree-shaking by @IWANABETHATGUY in #1659
- chore: add render chunk remapping benchmark by @underfin in #1662
- chore: bump oxc to v0.21.0 by @Dunqing in #1656
- feat: better error report for ambiguous export by @shulaoda in #1661
- refactor(remapping): instante token in parallel by @underfin in #1666
- chore: add minify benchmark by @underfin in #1667
- fix: correct the behavior in texture or empty extension-customized file. by @7086cmd in #1668
- chore: add js side minify benchmark by @underfin in #1669
- feat: convert parsing errors of oxc to rolldown's errors with friendly messages by @shulaoda in #1670
- fix: the crate rolldown_ecmascript's test can't pass by @shulaoda in #1672
- refactor(rust): add
EcmaAstIdxto indexEcmaAstby @hyf0 in #1673 - refactor(rust): return
Moduleinstead ofEcmaModuleinEcmaModuleTaskby @hyf0 in #1674 - chore(deps): update npm-rolldown by @renovate in #1676
- chore(deps): update rust crates by @renovate in #1677
- docs(contrib): add
Code Stylingchapter and preferences on adding tests by @hyf0 in #1682 - fix: reexport star of a external module should be considered have side effect. by @IWANABETHATGUY in #1675
- chore: refactor sourcemap test by @underfin in #1685
- chore: 🤖 update generated binding format by @IWANABETHATGUY in #1686
- feat: support
output.exportsoption. by @7086cmd in #1680 - ci: add FreeBSD x64 build by @Brooooooklyn in #1687
- fix: should include the dependencies if the module only has re-export… by @underfin in #1683
- chore(rolldown): add FreeBSD npm package by @Brooooooklyn in #1688
- release: v0.12.2 by @hyf0 in #1689
New Contributors
Full Changelog: v0.12.1...v0.12.2