Skip to content

Commit

Permalink
use esbuild define/hooks (#2342)
Browse files Browse the repository at this point in the history
* use esbuild define/hooks

* remove build script
  • Loading branch information
KhafraDev authored Oct 11, 2023
1 parent 655d3d7 commit 026c1d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@
"index-fetch.js",
"lib",
"types",
"docs",
"scripts/esbuild-build.mjs"
"docs"
],
"scripts": {
"build:node": "node scripts/esbuild-build.mjs",
"build:node": "npx esbuild@0.19.4 index-fetch.js --bundle --platform=node --outfile=undici-fetch.js --define:esbuildDetection=1",
"prebuild:wasm": "node build/wasm.js --prebuild",
"build:wasm": "node build/wasm.js --docker",
"lint": "standard | snazzy",
Expand Down Expand Up @@ -110,7 +109,6 @@
"delay": "^5.0.0",
"dns-packet": "^5.4.0",
"docsify-cli": "^4.4.3",
"esbuild": "^0.19.4",
"form-data": "^4.0.0",
"formdata-node": "^4.3.1",
"https-pem": "^3.0.0",
Expand Down
24 changes: 0 additions & 24 deletions scripts/esbuild-build.mjs

This file was deleted.

0 comments on commit 026c1d5

Please sign in to comment.