diff --git a/package.json b/package.json index 9fc45db965..5124977735 100644 --- a/package.json +++ b/package.json @@ -17,20 +17,20 @@ "packages/compiler-sfc" ], "exports": { - ".": { + ".": {, + "types": "./types/index.d.ts", "import": { "node": "./dist/vue.runtime.mjs", "default": "./dist/vue.runtime.esm.js" }, - "require": "./dist/vue.runtime.common.js", - "types": "./types/index.d.ts" + "require": "./dist/vue.runtime.common.js" }, "./compiler-sfc": { "import": "./compiler-sfc/index.mjs", "require": "./compiler-sfc/index.js" }, "./dist/*": "./dist/*", - "./types/*": "./types/*", + "./types/*": "./types/*.d.ts", "./package.json": "./package.json" }, "sideEffects": false,