Bundle.js now fully supports TypeScript 5.3! Leverage the latest type system improvements, performance optimizations, and developer tooling enhancements directly within your JavaScript bundling workflows.
Key Features
- Automatic type inference for optimized runtime performance
- Native support for TypeScript's new conditional type inference
- Enhanced .d.ts module resolution for improved type accuracy
Example Configuration
TypeScript 5.3
// bundle.config.ts
import { defineConfig } from 'bundle.js';
import typescript from '@bundle.js/types-script';
export default defineConfig({
plugins: [typescript({
target: 'es2020',
moduleResolution: 'node16',
skipLibCheck: true
})],
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx']
}
});
Performance Improvements
Build Speed
47% faster
980ms
514ms
Memory Usage
63% reduced
1.8GB
678MB
Getting Started
Terminal
npm install typescript@5.3.0 bundle.js
npx bundle create --template typescript