mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
aws js: implement with hardcoded archive/tile path
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"@types/aws-lambda": "^8.10.108",
|
||||
"@types/node": "^18.11.2",
|
||||
"esbuild-runner": "^2.2.2",
|
||||
"typescript": "^4.8.4",
|
||||
"zora": "^5.1.0"
|
||||
@@ -11,6 +12,6 @@
|
||||
"scripts": {
|
||||
"test": "node -r esbuild-runner/register src/index.test.ts",
|
||||
"tsc": "tsc --noEmit --watch",
|
||||
"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"
|
||||
"build": "esbuild src/index.ts --target=es2020 --outfile=dist/index.js --format=cjs --bundle --platform=node --target=node16 --external:/var/runtime/node_modules/aws-sdk/clients/s3.js --banner:js=//$(git describe --always) && cd dist && zip lambda_function.zip index.js"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user