diff --git a/esbuild.mjs b/esbuild.mjs index 69c0657..d257ba2 100644 --- a/esbuild.mjs +++ b/esbuild.mjs @@ -1,28 +1,4 @@ import { build } from 'esbuild' -// import commandLineArgs from 'command-line-args'; - -// const args = commandLineArgs([ -// { name: 'watch', alias: 'w', type: Boolean }, -// { name: 'bundle', alias: 'b', type: Boolean }, -// { name: 'minify', alias: 'm', type: Boolean }, -// { name: 'sourcemap', alias: 's', type: Boolean } -// ]); - -//build TS -// build({ -// entryPoints: ['src/main.ts'], -// outdir: 'dist', - -// target: 'es2020', -// platform: 'node', -// format: 'cjs', - -// watch: args.watch, -// bundle: args.bundle, -// minify: args.minify, -// sourcemap: args.sourcemap -// }); - import { lstatSync, readdirSync,