Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

support named slots in Vue in React #152

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
{
"presets": [
[
"latest",
"@babel/preset-env",
{
"es2015": {
"modules": false
}
"targets": "last 2 versions, not dead, not ie 11"
}
],
"react"
"@babel/preset-react"
],
"plugins": ["transform-object-rest-spread", "transform-class-properties"],
"env": {
"rollup": {
"plugins": ["external-helpers"]
// "plugins": ["@babel/plugin-external-helpers"]
},
"test": {
"presets": ["es2015"],
"plugins": ["transform-class-properties"]
"presets": ["@babel/preset-env"]
}
}
}
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"parser": "babel-eslint",
"env": { "browser": true },
"parser": "@typescript-eslint/parser",
"extends": ["umbrellio", "umbrellio/react"],
"rules": {
"quotes": ["error", "single"],
Expand All @@ -9,7 +10,7 @@
"no-new": "off",
"react/prop-types": "off"
},
"plugins": ["vue"],
"plugins": ["vue", "jest", "react"],
"globals": {
"Symbol": true
}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/coverage
/node_modules
/yarn-error.log
dist
Loading