forked from silverwind/updates
remove external
This commit is contained in:
parent
553a977d6b
commit
df868c4e2b
2
Makefile
2
Makefile
@ -34,7 +34,7 @@ build: $(DST)
|
||||
|
||||
$(DST): $(SRC) node_modules
|
||||
# workaround for https://github.com/evanw/esbuild/issues/1921
|
||||
npx esbuild --log-level=warning --platform=node --target=node18 --format=esm --bundle --minify --legal-comments=none --banner:js="import {createRequire} from 'module';const require = createRequire(import.meta.url);" --define:import.meta.VERSION=\"$(shell jq .version package.json)\" --outfile=$(DST) $(SRC) --external:undici
|
||||
npx esbuild --log-level=warning --platform=node --target=node18 --format=esm --bundle --minify --legal-comments=none --define:import.meta.VERSION=\"$(shell jq .version package.json)\" --outfile=$(DST) $(SRC)
|
||||
chmod +x $(DST)
|
||||
|
||||
.PHONY: publish
|
||||
|
Loading…
Reference in New Issue
Block a user