From 06f843f67cb9dabced3df15adee62aa5e5961b69 Mon Sep 17 00:00:00 2001 From: Shachar Leuchter Date: Thu, 22 Jul 2021 09:53:05 +0200 Subject: [PATCH 1/2] fix(copy-assets): ignore js only in js folder --- lib/copy-assets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/copy-assets.js b/lib/copy-assets.js index b0a56ac..457095d 100644 --- a/lib/copy-assets.js +++ b/lib/copy-assets.js @@ -15,8 +15,8 @@ try { await fs.ensureDir(dest) await fs.copy(assetsPath, dest, { filter: function (filepath) { - // ignore js folder that complies via webpack - if (filepath.endsWith('.js')) return false + // Ignore js folder only. Webpack is compiling it + if (filepath.includes('/js/') && filepath.endsWith('.js')) return false return true } }) From d8524c6aa6f457aaa0a43eced12493b0fa23344f Mon Sep 17 00:00:00 2001 From: Shachar Leuchter Date: Thu, 22 Jul 2021 10:02:13 +0200 Subject: [PATCH 2/2] chore(package): bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a014370..43ce58f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jvmn/groundzero-taskrunner-webpack", - "version": "2.4.1", + "version": "2.4.2", "description": "Taskrunner for JvM/Neckar Groundzero projects", "keywords": [ "taskrunner",