mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-12-13 00:48:58 +08:00
feat: should support passing object slots via JSX children (#204)
* feat: should support passing object slots via JSX children * feat: add unit test * feat: remove `cloneDeep` of `isSlot` * chore(deps): add `@babel/template`
This commit is contained in:
@@ -11,11 +11,10 @@
|
||||
"url": "git+https://github.com/vuejs/jsx-next.git"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "npm run build && webpack-dev-server",
|
||||
"build": "tsc",
|
||||
"lint": "eslint 'src/*.ts'",
|
||||
"test": "npm run build && jest --coverage",
|
||||
"prepublishOnly": "npm run build"
|
||||
"test": "yarn build && jest --coverage",
|
||||
"prepublishOnly": "yarn build"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/vuejs/jsx-next/issues"
|
||||
@@ -26,6 +25,7 @@
|
||||
"dependencies": {
|
||||
"@babel/helper-module-imports": "^7.0.0",
|
||||
"@babel/plugin-syntax-jsx": "^7.0.0",
|
||||
"@babel/template": "^7.0.0",
|
||||
"@babel/traverse": "^7.0.0",
|
||||
"@babel/types": "^7.0.0",
|
||||
"@vue/babel-helper-vue-transform-on": "^1.0.0-rc.2",
|
||||
@@ -48,4 +48,4 @@
|
||||
"typescript": "^4.0.2",
|
||||
"vue": "3.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user