Skip to content

Commit

Permalink
fix(scope): fix export types & main entry (#3676)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Apr 1, 2024
1 parent 7eda3ab commit ae44ad2
Showing 1 changed file with 27 additions and 21 deletions.
48 changes: 27 additions & 21 deletions packages/scope/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
{
"name": "@unocss/scope",
"type": "module",
"version": "0.59.0-beta.1",
"description": "Placeholder for UnoCSS scope import",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/unocss/unocss",
"directory": "packages/scope"
},
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
}
},
"main": "./index.mjs",
"module": "./index.mjs",
"types": "./index.d.ts"
{
"name": "@unocss/scope",
"type": "module",
"version": "0.59.0-beta.1",
"description": "Placeholder for UnoCSS scope import",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/unocss/unocss",
"directory": "packages/scope"
},
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"require": {
"types": "./index.d.cts",
"default": "./index.cjs"
}
}
},
"main": "./index.cjs",
"module": "./index.mjs",
"types": "./index.d.ts"
}

0 comments on commit ae44ad2

Please sign in to comment.