diff --git a/package-lock.json b/package-lock.json index 569db7c93..e99c4f3d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "koa", "version": "2.13.1", "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 4c42327be..d05665a1d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "exports": { ".": { "require": "./lib/application.js", - "import": "./dist/koa.mjs" + "import": "./dist/koa.mjs", + "default": "./dist/koa.mjs" }, "./*": "./*.js", "./*.js": "./*.js",