Skip to content

chore(build-tools): replace babel with rslib for package compilation#5173

Merged
adrians5j merged 27 commits into
nextfrom
adrian/rslib-2026-05-07
May 12, 2026
Merged

chore(build-tools): replace babel with rslib for package compilation#5173
adrians5j merged 27 commits into
nextfrom
adrian/rslib-2026-05-07

Conversation

@adrians5j
Copy link
Copy Markdown
Member

@adrians5j adrians5j commented May 7, 2026

What changed

Package compilation now uses rslib (backed by Rspack/SWC) instead of Babel for transpiling TypeScript and JavaScript source files. Both build and watch modes have been updated. The tsCompile step for generating .d.ts declaration files is unchanged. The public API of createBuildPackage and createWatchPackage is identical — no changes needed to any webiny.config.js files.

Changelog

Replace Babel with rslib for Package Compilation

Package source files are now compiled using rslib in bundleless mode instead of Babel. This brings faster incremental builds in watch mode (rslib uses rspack's native watcher via build({ watch: true })) and eliminates the Babel dependency from the compilation path. Declaration files (.d.ts) continue to be generated by the TypeScript compiler as before.

Squash Merge Commit

chore(build-tools): replace babel with rslib for package compilation (#5173)

@adrians5j adrians5j added this to the 6.3.1 milestone May 7, 2026
@adrians5j adrians5j changed the title adrian/rslib-2026-05-07 Replace Babel with Rslib for Package Compilation May 7, 2026
@adrians5j
Copy link
Copy Markdown
Member Author

/e2e

@github-actions
Copy link
Copy Markdown

Cypress E2E tests have been initiated (for more information, click here). ✨

Database Status Admin URL
DDB 🔄 Deploying... -
DDB+OS 🔄 Deploying... -

@adrians5j adrians5j modified the milestones: 6.3.1, 6.4.0 May 11, 2026
adrians5j added 3 commits May 11, 2026 14:13
# Conflicts:
#	packages/cli/files/references.json
#	packages/webiny/package.json
@adrians5j
Copy link
Copy Markdown
Member Author

/e2e

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

Cypress E2E tests have been initiated (for more information, click here). ✨

Database Status Admin URL
DDB ✅ Ready https://d334tt5r4npclw.cloudfront.net
DDB+OS ✅ Ready https://d2ws572ih1kiwu.cloudfront.net

@adrians5j
Copy link
Copy Markdown
Member Author

/e2e

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Cypress E2E tests have been initiated (for more information, click here). ✨

Database Status Admin URL
DDB ✅ Ready https://dgj5boywxur7q.cloudfront.net
DDB+OS ✅ Ready https://d20c7bmtrzi5of.cloudfront.net

@adrians5j
Copy link
Copy Markdown
Member Author

/e2e

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Cypress E2E tests have been initiated (for more information, click here). ✨

Database Status Admin URL
DDB ✅ Ready https://dpxbganutptxv.cloudfront.net
DDB+OS ✅ Ready https://dbg6zk0njag2q.cloudfront.net

@adrians5j
Copy link
Copy Markdown
Member Author

/e2e

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Cypress E2E tests have been initiated (for more information, click here). ✨

Database Status Admin URL
DDB ✅ Ready https://d19v1nivo8b539.cloudfront.net
DDB+OS ✅ Ready https://d3uhal8bht6v94.cloudfront.net

@adrians5j adrians5j changed the title Replace Babel with Rslib for Package Compilation chore(build-tools): replace babel with rslib for package compilation May 12, 2026
@adrians5j adrians5j merged commit b3f537e into next May 12, 2026
173 of 174 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant