From 0f52271757075e264d34525364168379a72c7d9f Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Wed, 15 Feb 2017 22:38:30 +0100 Subject: [PATCH] Use static deployment type if defined in config --- lib/read-metadata.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/read-metadata.js b/lib/read-metadata.js index 6d46502..fa92005 100644 --- a/lib/read-metadata.js +++ b/lib/read-metadata.js @@ -51,6 +51,10 @@ async function readMetaData(path, { } } + if (deploymentType === 'static') { + isStatic = true + } + if (deploymentType === 'npm') { if (isStatic) { pkg = listPackage