Skip to content

Commit

Permalink
build: rename build.js to esbuild.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-David committed May 4, 2022
1 parent 4495ba7 commit 2510d7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pnpm dev
pnpm build

# Run production code
node ./build/index.js
node build

# New commit with interactive CLI
pnpm cz
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"prepare": "husky install",
"dev": "nodemon",
"build": "rm -rf build && esbuild `find src \\( -name '*.ts' \\)` --platform=node --outdir=build --bundle",
"build:windows": "rm -rf build && node ./build.js",
"build:windows": "rm -rf build && node esbuild.js",
"format": "prettier --write 'src/**/*.{js,ts,json,md}'",
"lint": "prettier --check 'src/**/*.{js,ts,json,md}' && eslint --ignore-path .gitignore .",
"cz": "cz",
Expand Down

0 comments on commit 2510d7b

Please sign in to comment.