From 3ecb3138571bee7a95f98361a175171dd61001e2 Mon Sep 17 00:00:00 2001 From: Kaspar Emanuel Date: Sun, 22 Jan 2023 18:26:32 +0000 Subject: [PATCH] Add `type: module` to package.json I was getting errors from sveltekit/vite without this. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 25e992c..f7441bb 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "type": "module", "scripts": { "build": "rm -rf lib && tsc", "lint": "tslint -p tsconfig.json", @@ -32,4 +33,4 @@ "tslint": "^6.1.1", "typescript": "^3.8.3" } -} \ No newline at end of file +}