Transpiling typescript files and copy every other files in source folder to output folder. Either install this package as dev dependency, or use it as NPM Package Runner (npx)
# Install as dev dependency
npm i -D build-esbuild
build-esbuild -s src -o dist
# Use NPM Package Runner (npx)
npx build-esbuild --help
npx build-esbuild -s src -o dist
npx build-esbuild -s src -o dist -m
npx build-esbuild -s src -o dist -f esm -x mjs -m true -d true -v true
This plugin is issued under the MIT license.