From d984c9319174d9fe84f14276d38a405498806e12 Mon Sep 17 00:00:00 2001 From: Nokome Bentley Date: Mon, 21 Jun 2021 19:42:05 +1200 Subject: [PATCH] fix(Build): Include dist js in scripts This is necessary because we do dynamic require at the top level of `pkg` does not know to bundle up these files. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 5f3ef09d2..8d9e5d8b7 100644 --- a/package.json +++ b/package.json @@ -229,6 +229,9 @@ }, "prettier": "@stencila/dev-config/prettier-config.json", "pkg": { + "scripts": [ + "dist/**/*.js" + ], "targets": [ "node16-linux-x64", "node16-macos-x64",