Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Commit 806ff19

Browse files
committed
Adds missing "prepackage" script to build index.js before creating the zip file
1 parent d2ff66b commit 806ff19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"package": "node-lambda package --handler dist/index.default --configFile deploy.env --functionName $npm_package_name --excludeGlobs \"./index.js webpack.config.js context.json event.json .babelrc .nvmrc .gitignore LICENSE.md README.md\"",
4343
"postinstall": "node-lambda setup",
4444
"predeploy": "NODE_ENV=production webpack -p",
45+
"prepackage": "NODE_ENV=production webpack -p",
4546
"pretest": "webpack",
4647
"setup": "node-lambda setup",
4748
"start": "webpack --watch",

0 commit comments

Comments
 (0)