Skip to content

Commit fab7958

Browse files
committed
fix(resolve-type): overwrite exports field for publish
1 parent 4442cfa commit fab7958

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,4 @@ dist
101101
.tern-port
102102

103103
dist
104+
.DS_Store

Diff for: packages/babel-plugin-resolve-type/package.json

+9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
"type": "git",
2121
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
2222
},
23+
"publishConfig": {
24+
"exports": {
25+
".": {
26+
"import": "./dist/index.mjs",
27+
"require": "./dist/index.js"
28+
},
29+
"./package.json": "./package.json"
30+
}
31+
},
2332
"scripts": {
2433
"build": "tsup",
2534
"watch": "tsup --watch"

0 commit comments

Comments
 (0)