From f069f4c837532111e3589867777509b6563fc640 Mon Sep 17 00:00:00 2001 From: Adam Laszlo Rocska Date: Sun, 16 Apr 2023 02:37:45 +0200 Subject: [PATCH] forgot the magic public tsconfig --- package.json | 2 +- tsconfig.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6eca567..26450a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@21gram-consulting/next-rest", - "version": "0.1.0", + "version": "0.1.1", "description": "21Gram Consulting's Next REST library provides a convenience API to create RESTful NextJS API handlers and client interfaces for them.", "keywords": [ "NextJS", diff --git a/tsconfig.json b/tsconfig.json index 3076c6a..6fd8dd3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,14 +6,14 @@ "noFallthroughCasesInSwitch": true, "pretty": true, "sourceMap": true, - "target": "ESNext", + "target": "ES2021", "lib": [ "ES2021", "DOM" ], "rootDir": ".", - "module": "ESNext", - "moduleResolution": "nodenext", + "module": "CommonJS", + "moduleResolution": "node", "baseUrl": "./", "paths": { "#*": [