From 06c9127f022642cbf6d47fd2bef0d74b5cbc17a5 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Thu, 14 Sep 2017 21:56:59 +0200 Subject: [PATCH] Update instructions for running tests against dist Fixes #2819. --- scripts/build/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/build.js b/scripts/build/build.js index 4a321a579..a0a08afa8 100755 --- a/scripts/build/build.js +++ b/scripts/build/build.js @@ -131,7 +131,7 @@ shell.cp("README.md", "dist/README.md"); shell.echo("Done!"); shell.echo(); shell.echo("How to test against dist:"); -shell.echo(" 1) yarn test --prod"); +shell.echo(" 1) NODE_ENV=production yarn test"); shell.echo(); shell.echo("How to publish:"); shell.echo(" 1) IMPORTANT!!! Go to dist/");