Skip to content

Commit

Permalink
chore: fix resolver in cjs, types (unovue#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia authored Oct 29, 2023
1 parent 5cce805 commit f9b0bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/plugins/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ export default defineBuildConfig([
externals: [
'unplugin-vue-components',
],
rollup: {
emitCJS: true,
},
},
])
3 changes: 3 additions & 0 deletions packages/radix-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f9b0bfe

Please sign in to comment.