Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit 6673156

Browse files
committed
npm install devDependencies too; support npm run build
1 parent c3d615b commit 6673156

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/compile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ branch=""
3131
dir=$(mktemp -t buildpackXXXXX)
3232
rm -rf $dir
3333

34+
# Set env vars for the inner buildpacks in `.buildpacks`
35+
# * Install `npm build` tooling.
36+
export NPM_CONFIG_PRODUCTION=false
37+
3438
echo "=====> Downloading Buildpack: $url"
3539

3640
if [[ "$url" =~ \.tgz$ ]] || [[ "$url" =~ \.tgz\? ]]; then

0 commit comments

Comments
 (0)