awt-bundler
v1.0.1
Published
🔱 A custom bundler for use with async-worker-ts
Downloads
1
Readme
awt-bundler 🔱
A custom bundler for use with async-worker-ts.
Usage:
add awt-bundler as a dev dependancy of the project
npm i -D awt-bundler
add a script to the package.json file
{
"scripts": {
"bundle": "awt-bundler dist"
}
}
run the bundler as the last step before running the project - here we're chaining it with the build script
{
"scripts": {
"bundle": "awt-bundler dist",
"build": "tsc && npm run bundle",
"dev": "npm run build && node dist/index.js"
}
}