1.0.1 • Published 4 years ago
typescript-bundler v1.0.1
TypeScript Bundler
A Zero-configuration TypeScript transpiler and bundler.
Features
- Transpile
.tsfile to.jsand.d.ts - Bundle
.jsand.d.tsoutput automatically - Inline and treeshaking
sideEffectFree: falsees modules which defined indevDependencies - Allow multiple
.tsentries underbinorlibfolder - Compress the
publicfolder withgzip,br2andwebp - Mangle, Prettier output code automatically
- Generate
package.jsonfor the bundle - Generate
settings.jsfrom different type of config files - No intermediate files written on disk, keep your project folder clean
- Improve
agentframeworkperformance
How to use?
- Install
npm i -g git+ssh://git@github.com/e2tox/tsb.git- Make your project structure similar as following:
Project
|-- bin
| |-- cli.ts
| |-- ...
|
|-- conf
| |-- settings.properties
| |-- settings.yaml
| |-- ...
|
|-- lib
| |-- index.ts
| |-- library.ts
| |-- utils.ts
| |-- ...
|
|-- public
| |-- image.gif
| |-- page.html
| |-- embeded.js
| |-- ...
|
|-- src
| |-- app.ts
| |-- utils.ts
| |-- services
| | |-- users.ts
| | |-- groups.ts
| | |-- ...
| |-- ...
|
|-- index.ts
|-- package.json
|-- tsconfig.json- run this command at project root
tsbSupported Configuration Files
- JavaScript File (settings.js)
- JSON File (settings.json)
- YAML File (settings.yaml, settings.yml)
- JSON File (settings.json)
- JSON5 File (settings.json5)
- INI File (settings.ini)
- Properties File (settings.properties)
Report Bugs
https://github.com/e2tox/tsb/issues
Please also include a link to a sample code repository which can reproduce the issue.
1.0.1
4 years ago
1.0.0
4 years ago
1.0.0-rc.5
4 years ago
1.0.0-rc.4
4 years ago
1.0.0-rc.3
4 years ago
1.0.0-rc.2
4 years ago
1.0.0-rc.1
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago