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": { "#*": [