mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-01-10 00:09:12 +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
|
||||
|
||||
dist
|
||||
.DS_Store
|
||||
|
@ -20,6 +20,15 @@
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
||||
},
|
||||
"publishConfig": {
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"watch": "tsup --watch"
|
||||
|
Loading…
Reference in New Issue
Block a user