From ba9a1471a0cc5e83c008e9722a87c78e106c758f Mon Sep 17 00:00:00 2001 From: Krzysztof Sakwerda Date: Wed, 16 Aug 2023 10:02:09 +0200 Subject: [PATCH 1/2] fix: add `type: "module"` to vitest-environment-miniflare fixes #645 --- packages/vitest-environment-miniflare/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vitest-environment-miniflare/package.json b/packages/vitest-environment-miniflare/package.json index a30685259..a7fc6cfa0 100644 --- a/packages/vitest-environment-miniflare/package.json +++ b/packages/vitest-environment-miniflare/package.json @@ -11,6 +11,7 @@ ], "author": "MrBBot ", "license": "MIT", + "type": "module", "main": "./dist/src/index.js", "module": "./dist/src/index.js", "types": "./dist/src/index.d.ts", From 24cd376ac08a24bd50a9ff5df7449acbb627bafd Mon Sep 17 00:00:00 2001 From: Krzysztof Sakwerda Date: Wed, 16 Aug 2023 10:05:32 +0200 Subject: [PATCH 2/2] chore: add changeset --- .changeset/fuzzy-poets-share.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fuzzy-poets-share.md diff --git a/.changeset/fuzzy-poets-share.md b/.changeset/fuzzy-poets-share.md new file mode 100644 index 000000000..07e02d96d --- /dev/null +++ b/.changeset/fuzzy-poets-share.md @@ -0,0 +1,5 @@ +--- +"vitest-environment-miniflare": patch +--- + +fix: add `type: "module"` to vitest-environment-miniflare