From 05b63af4c9af86b2eb77449e9cbdb48c0b1a19df Mon Sep 17 00:00:00 2001 From: JD Huntington Date: Wed, 27 Feb 2019 21:58:49 -0800 Subject: [PATCH] fix: update call to globIgnore (#1002) (#1003) globIgnore now requires the 'absolute' option to be specified. --- scripts/lib/bundle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/bundle.js b/scripts/lib/bundle.js index 2c32874c38..27e9c0fa81 100644 --- a/scripts/lib/bundle.js +++ b/scripts/lib/bundle.js @@ -25,6 +25,7 @@ function readPackageDigest() { function computePackageDigest(noWriteFile = false) { const files = globIgnore(join(rootDir, '**'), { + absolute: true, ignore: readFileSync(join(rootDir, '.npmignore')) .toString('utf8') .split(/\n/g)