mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
aws js: create lambda zip
This commit is contained in:
@@ -11,6 +11,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node -r esbuild-runner/register src/index.test.ts",
|
"test": "node -r esbuild-runner/register src/index.test.ts",
|
||||||
"tsc": "tsc --noEmit --watch",
|
"tsc": "tsc --noEmit --watch",
|
||||||
"build": "esbuild src/index.ts --target=es2020 --outfile=dist/index.js --format=cjs --bundle --banner:js=//$(git describe --always)"
|
"build": "esbuild src/index.ts --target=es2020 --outfile=dist/index.js --format=cjs --bundle --banner:js=//$(git describe --always) && cd dist && zip lambda_function.zip index.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user