Well yes, this is another bundler, but honestly, a good one.
- First class TypeScript support.
- Lots of optimizations out of the box.
- Simple single JSON file configuration.
- Supports file watching.
npm i -D ultrabundle
- Create a file named
bundles.json
in the root of your application (wherepackage.json
is located). - Paste in the configuration of the bundles.
[
{
"input": "src/index.ts",
"output": "dist/output.js"
}
]
- Define 3 simple scripts in your
package.json
"dev": "ultrabundle",
"watch": "ultrabundle --watch",
"prod": "ultrabundle --optimize"