From 3a98ad037645820aa36ff22d45f9f10cc21ae43a Mon Sep 17 00:00:00 2001 From: Robbert van Mourik Date: Tue, 18 Jan 2022 11:44:43 +0100 Subject: [PATCH] chore: add type="module" to package.json This is needed so bundlers no what to do and expect (for example Vite) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d79db8a..fbd3001 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dist", "templates" ], + "type": "module", "main": "./dist/module.js", "scripts": { "build": "tsc"