Release Notes
What shipped in the v1.x line of @remotex-labs/xbuild.
v1.6.0
- Added: Glob patterns in
esbuild.entryPoints, so entry points can be declared assrc/**/*.tsinstead of listing every file.
v1.5.x
- Added:
bannerandfooteraccept functions (() => string) in addition to plain strings. See the config reference. - Added:
$$-prefixed class methods are stripped like$$functions when their definition is removed. See ifdef. - Changed:
.htmlfiles load with thetextloader.
v1.3.0
- Changed: Build error handling was centralized: lifecycle hooks can report
errorsandwarningsback to the build, and failures acrossrun,serve, and debug flows go through a single execution path.
v1.2.0
- Added:
--typeCheck/--tcCLI option to run TypeScript type checking as a standalone action. See CLI options.
v1.1.0
- Added:
tsconfig.jsonpath aliases resolve to relative paths in the output (resolve-alias plugin). - Changed:
ifdefcomment markers are removed from the emitted code.
v1.0.0
Initial release: an esbuild-powered build tool configured through xbuild.config.ts.
xbuild.config.tswith esbuild options, TypeScript declaration output (declaration,bundleDeclaration), and multi-config arrays.- Lifecycle hooks:
onStart,onResolve,onLoad,onEnd,onSuccess. - Conditional code with
// ifdefblocks and$$function stripping, driven bydefine. - Dev server (HTTP/HTTPS) plus watch mode and a Node.js dev runner.
- Programmatic API:
build,buildWithConfigPath,buildWithArgv.
