From 053712c8d3407a92d14c924b3c03d9a49da5e5fc Mon Sep 17 00:00:00 2001 From: Bryce Gibson Date: Thu, 30 Sep 2021 16:48:33 +1000 Subject: [PATCH] Fix tsc on Windows - globbing doesn't work there. There's probably a cleaner way to do this... --- package.json | 2 +- tasks/tsconfig.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 tasks/tsconfig.json diff --git a/package.json b/package.json index f2f8dbc..0c113b5 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lint": "tslint \"{src,plugins,tasks}/**/*.ts\" --fix", "prepare": "npm run lint && npm run build && npm test", "prebuild": "rimraf lib", - "build": "tsc --declaration && tsc tasks/*.ts --noEmit --skipLibCheck && webpack", + "build": "tsc --declaration && tsc -p tasks && webpack", "postbuild": "ts-node tasks/post-build" }, "repository": { diff --git a/tasks/tsconfig.json b/tasks/tsconfig.json new file mode 100644 index 0000000..3f7e8aa --- /dev/null +++ b/tasks/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "noEmit": true + }, + "include":[ + "*.ts" + ] +} +