Skip to content

Commit 82d8733

Browse files
committed
ensure layer is built for build:tarball
1 parent c52f213 commit 82d8733

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/aws-serverless/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@
7676
},
7777
"scripts": {
7878
"build": "run-p build:transpile build:types build:bundle",
79-
"build:bundle": "yarn ts-node scripts/buildLambdaLayer.ts",
79+
"build:bundle": "yarn build:layer",
80+
"build:layer": "yarn ts-node scripts/buildLambdaLayer.ts",
8081
"build:dev": "run-p build:transpile build:types",
81-
"build:transpile": "rollup -c rollup.npm.config.mjs",
82+
"build:transpile": "rollup -c rollup.npm.config.mjs && yarn build:layer",
8283
"build:types": "run-s build:types:core build:types:downlevel",
8384
"build:types:core": "tsc -p tsconfig.types.json",
8485
"build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8",

0 commit comments

Comments
 (0)