diff --git a/packages/addon-rslib/package.json b/packages/addon-rslib/package.json index be67882..24e0488 100644 --- a/packages/addon-rslib/package.json +++ b/packages/addon-rslib/package.json @@ -15,10 +15,12 @@ "license": "MIT", "exports": { ".": { - "require": "./dist/index.cjs", - "import": "./dist/index.js" + "types": "./dist/index.d.ts", + "node": "./dist/index.js", + "require": "./dist/index.js", + "import": "./dist/index.mjs" }, - "./preset": "./dist/preset.cjs", + "./preset": "./dist/preset.js", "./package.json": "./package.json" }, "main": "dist/index.js",