From 9cb171f953422932bc4af9e265630118cc0f4f94 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 1 Jul 2021 17:18:26 +0100 Subject: [PATCH] Fix the build: make the rootDir correct --- package.json | 2 +- tsconfig.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 221a3af..67079e3 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "docker:build": "scripts/in-docker.sh yarn run build", "docker:install": "scripts/in-docker.sh yarn install", "debrepo": "scripts/mkrepo.sh", - "clean": "rimraf webapp.asar dist packages deploys", + "clean": "rimraf webapp.asar dist packages deploys lib", "hak": "node scripts/hak/index.js" }, "dependencies": { diff --git a/tsconfig.json b/tsconfig.json index 67696b3..d761a12 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,13 +2,13 @@ "compilerOptions": { "resolveJsonModule": true, "esModuleInterop": true, - "allowJs": true, "module": "commonjs", "moduleResolution": "node", "target": "es2016", "noImplicitAny": false, "sourceMap": false, "outDir": "./lib", + "rootDir": "./src", "declaration": true, "types": [ "node" @@ -19,7 +19,6 @@ ] }, "include": [ - ".eslintrc.js", "./src/**/*.ts" ] }