mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +08:00
fix(resolve-type): overwrite exports field for publish
This commit is contained in:
parent
4442cfa548
commit
fab7958958
1
.gitignore
vendored
1
.gitignore
vendored
@ -101,3 +101,4 @@ dist
|
|||||||
.tern-port
|
.tern-port
|
||||||
|
|
||||||
dist
|
dist
|
||||||
|
.DS_Store
|
||||||
|
@ -20,6 +20,15 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
||||||
},
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.mjs",
|
||||||
|
"require": "./dist/index.js"
|
||||||
|
},
|
||||||
|
"./package.json": "./package.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup",
|
"build": "tsup",
|
||||||
"watch": "tsup --watch"
|
"watch": "tsup --watch"
|
||||||
|
Loading…
Reference in New Issue
Block a user