fix: resolve publint issues

This commit is contained in:
三咲智子 Kevin Deng 2025-03-10 02:09:16 +08:00
parent 61c03e59a1
commit 9ca7f4b7fe
No known key found for this signature in database
4 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{
"name": "@vue/babel-helper-vue-transform-on",
"version": "1.3.0",
"type": "commonjs",
"description": "to help transform on",
"author": "Amour1688 <lcz_1996@foxmail.com>",
"license": "MIT",
@ -8,6 +9,6 @@
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
}
}

View File

@ -5,12 +5,20 @@
"author": "Amour1688 <lcz_1996@foxmail.com>",
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-jsx#readme",
"license": "MIT",
"type": "commonjs",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./*": "./*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
},
"scripts": {
"build": "tsup",

View File

@ -6,6 +6,7 @@
"funding": "https://github.com/sponsors/sxzz",
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-resolve-type#readme",
"license": "MIT",
"type": "commonjs",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
@ -19,7 +20,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
},
"publishConfig": {
"exports": {

View File

@ -15,6 +15,8 @@ export default defineConfig({
VueJSX(),
Replace({
values: {
'process.env': '{}',
'process.env.NODE_DEBUG': 'false',
'process.env.BABEL_TYPES_8_BREAKING': 'false',
},
}),