mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-10-09 22:46:30 +08:00
chore: fix dev exports
This commit is contained in:
@@ -10,9 +10,18 @@
|
|||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
"types": "./dist/index.d.mts",
|
"types": "./dist/index.d.mts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.mjs",
|
".": {
|
||||||
|
"dev": "./src/index.ts",
|
||||||
|
"default": "./dist/index.mjs"
|
||||||
|
},
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"exports": {
|
||||||
|
".": "./dist/index.mjs",
|
||||||
|
"./package.json": "./package.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git",
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git",
|
||||||
|
@@ -11,9 +11,18 @@
|
|||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
"types": "./dist/index.d.mts",
|
"types": "./dist/index.d.mts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.mjs",
|
".": {
|
||||||
|
"dev": "./src/index.ts",
|
||||||
|
"default": "./dist/index.mjs"
|
||||||
|
},
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"exports": {
|
||||||
|
".": "./dist/index.mjs",
|
||||||
|
"./package.json": "./package.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git",
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git",
|
||||||
|
@@ -10,6 +10,8 @@ export default defineConfig({
|
|||||||
target: 'node20.19',
|
target: 'node20.19',
|
||||||
platform: 'neutral',
|
platform: 'neutral',
|
||||||
inlineOnly: [],
|
inlineOnly: [],
|
||||||
exports: true,
|
exports: {
|
||||||
|
devExports: 'dev',
|
||||||
|
},
|
||||||
fixedExtension: true,
|
fixedExtension: true,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user