From 7c7e9080c03ebfe9f1517c579e38245260ce4f0b Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Sun, 17 Jan 2021 14:14:08 -0700 Subject: [PATCH] fix site static glob --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9eee97a..d8affaf 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "build": "npm run clean && run-p build:*", "build:action": "rm -rf dist && ncc build index.js -o dist -s", "build:md": "sitedown . -b public -l layout.html", - "build:static": "cpx './**/*.{png,ico}' public", + "build:static": "cpx './!(node_modules)**/*.{png,ico}' public", "clean": "rimraf public && mkdirp public", "release": "git push --follow-tags && gh-release -y", "start": "npm run watch",