From 5bb06ec854d7e90c55b60d00c3d0efae2b4330aa Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Wed, 8 Dec 2021 09:35:20 -0800 Subject: [PATCH] Add `"type": "module"` to `package.json` --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 564f9203..789acf96 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "test": "mocha --require esm test/*.js" }, "license": "MIT", - "main": "src/index.js", + "type": "module", + "main": "src/index.js", "module": "src/index.js", "devDependencies": { "eslint": "^6.1.0",