diff --git a/packages/vavite/package.json b/packages/vavite/package.json index 7feef0f2..36f36e32 100644 --- a/packages/vavite/package.json +++ b/packages/vavite/package.json @@ -17,10 +17,16 @@ "require": "./dist/index.cjs" }, "./vite-dev-server": { - "import": "./dist/vite-dev-server.js" + "import": { + "types": "./vite-dev-server.d.ts", + "default": "./dist/vite-dev-server.js" + } }, "./http-dev-server": { - "import": "./dist/http-dev-server.js" + "import": { + "types": "./http-dev-server.d.ts", + "default": "./dist/http-dev-server.js" + } }, "./node-loader": "./node-loader.mjs", "./suppress-loader-warnings": "./suppress-loader-warnings.cjs",