From 95973a5b95d8091c3e086563353f12712b0fa900 Mon Sep 17 00:00:00 2001 From: Taishi Naritomi <79634025+taishinaritomi@users.noreply.github.com> Date: Sat, 26 Nov 2022 15:45:24 +0900 Subject: [PATCH] fix(package.json): add "type": "module" (#679) --- jest.config.js | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index efc38fab..57ddde48 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,4 @@ -module.exports = { +export default { testMatch: ['**/test/**/*.+(ts|tsx|js)', '**/src/**/(*.)+(spec|test).+(ts|tsx|js)'], transform: { '^.+\\.(ts|tsx)$': 'ts-jest', diff --git a/package.json b/package.json index 8064453e..7e2c19a5 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "2.5.5", "description": "Ultrafast web framework for Cloudflare Workers, Deno, and Bun.", "main": "dist/cjs/index.js", + "type": "module", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [