diff --git a/packages/plugins/build.config.ts b/packages/plugins/build.config.ts index 51ac18110..058d32829 100644 --- a/packages/plugins/build.config.ts +++ b/packages/plugins/build.config.ts @@ -23,5 +23,8 @@ export default defineBuildConfig([ externals: [ 'unplugin-vue-components', ], + rollup: { + emitCJS: true, + }, }, ]) diff --git a/packages/radix-vue/package.json b/packages/radix-vue/package.json index 0c8739ada..8330c82b8 100644 --- a/packages/radix-vue/package.json +++ b/packages/radix-vue/package.json @@ -20,10 +20,13 @@ "import": "./dist/index.js" }, "./nuxt": { + "types": "./dist/nuxt/index.d.ts", "require": "./dist/nuxt/index.cjs", "import": "./dist/nuxt/index.mjs" }, "./resolver": { + "types": "./dist/resolver/index.d.ts", + "require": "./dist/resolver/index.cjs", "import": "./dist/resolver/index.mjs" }, "./index.css": "./dist/index.css"