mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-03-14 06:34:41 +08:00
fix: resolve publint issues
This commit is contained in:
parent
61c03e59a1
commit
9ca7f4b7fe
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@vue/babel-helper-vue-transform-on",
|
"name": "@vue/babel-helper-vue-transform-on",
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
|
"type": "commonjs",
|
||||||
"description": "to help transform on",
|
"description": "to help transform on",
|
||||||
"author": "Amour1688 <lcz_1996@foxmail.com>",
|
"author": "Amour1688 <lcz_1996@foxmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -8,6 +9,6 @@
|
|||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,12 +5,20 @@
|
|||||||
"author": "Amour1688 <lcz_1996@foxmail.com>",
|
"author": "Amour1688 <lcz_1996@foxmail.com>",
|
||||||
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-jsx#readme",
|
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-jsx#readme",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"type": "commonjs",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.mjs",
|
"module": "dist/index.mjs",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.mjs",
|
||||||
|
"require": "./dist/index.js"
|
||||||
|
},
|
||||||
|
"./*": "./*"
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup",
|
"build": "tsup",
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"funding": "https://github.com/sponsors/sxzz",
|
"funding": "https://github.com/sponsors/sxzz",
|
||||||
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-resolve-type#readme",
|
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-resolve-type#readme",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"type": "commonjs",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.mjs",
|
"module": "dist/index.mjs",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -19,7 +20,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -15,6 +15,8 @@ export default defineConfig({
|
|||||||
VueJSX(),
|
VueJSX(),
|
||||||
Replace({
|
Replace({
|
||||||
values: {
|
values: {
|
||||||
|
'process.env': '{}',
|
||||||
|
'process.env.NODE_DEBUG': 'false',
|
||||||
'process.env.BABEL_TYPES_8_BREAKING': 'false',
|
'process.env.BABEL_TYPES_8_BREAKING': 'false',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user