From 202e1569e5b49fece98a9cf1de2a559d4db20fa5 Mon Sep 17 00:00:00 2001 From: Roland Schilter Date: Fri, 7 Jul 2017 13:00:23 +0200 Subject: [PATCH] Fix `yarn pack` ignoring directory cli flag --- client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 18c692f69..2802abc5c 100644 --- a/client/package.json +++ b/client/package.json @@ -101,7 +101,7 @@ "build-external": "EXTERNAL=true webpack --config webpack.production.config.js", "copy-pkg-files": "cp package.json build-pkg/ && cp -R app/styles build-pkg/", "build-pkg": "mkdir -p build-pkg && node node_modules/.bin/babel app/scripts --ignore __tests__ --out-dir build-pkg && yarn run copy-pkg-files", - "bundle": "yarn run build-pkg && yarn pack ./build-pkg && mv weave-scope-v$npm_package_version.tgz ./tmp/weave-scope.tgz", + "bundle": "yarn run build-pkg && cd ./build-pkg && yarn pack --filename ../tmp/weave-scope.tgz", "start": "node server.js", "start-production": "NODE_ENV=production node server.js", "test": "jest",