From 219951255d70b54ad2c4c5064629ca71e344cd46 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sat, 19 Mar 2022 19:54:47 +0100 Subject: [PATCH] set type to module so that module loaders expect imports Vite for example won't compile with it --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 4ecdd2b..90989f4 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "prepack": "node build.js", "prepare": "husky install" }, + "type": "module", "typings": "./index.d.ts", "files": [ "index.js",