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