Skip to content

Commit

Permalink
chore: fix build by main export
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Nov 6, 2023
1 parent 4bf1eb8 commit 70ab76d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 2 additions & 0 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
},
"bugs": "https://github.com/YunYouJun/advjs/issues",
"exports": {
".": "./index.ts",
"./*": "./*"
},
"main": "index.ts",
"types": "types/index.ts",
"engines": {
"node": ">=14.0.0"
Expand Down
6 changes: 2 additions & 4 deletions packages/plugin-babylon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": "./dist/index.mjs"
},
"./*": "./*"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"main": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"*.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/unocss/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@advjs/unocss",
"type": "module",
"version": "0.0.1",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
"import": "./dist/index.mjs"
}
},
"main": "dist/index.cjs",
"main": "dist/index.mjs",
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
Expand Down
5 changes: 5 additions & 0 deletions packages/vrm/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"i18n-ally.localesPaths": [
"locales"
]
}

2 comments on commit 70ab76d

@vercel
Copy link

@vercel vercel bot commented on 70ab76d Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 70ab76d Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.