Skip to content

Commit 61e80db

Browse files
authored
Merge pull request #36 from byondrnd/babel-back-the-adding-datacomponent
Babel back the adding datacomponent
2 parents f62542b + 82f83a1 commit 61e80db

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.changeset/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3-
"changelog": "@changesets/cli/changelog",
4-
"commit": false,
3+
"changelog": "@changesets/changelog-git",
4+
"commit": true,
55
"fixed": [],
66
"linked": [],
77
"access": "public",

.changeset/strange-beds-travel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@byondxr/babel-plugin": patch
3+
---
4+
5+
babel-back-the-adding-datacomponent

packages/babel-plugin/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ const componentVisitor: PluginObj<Options> = {
227227
}
228228

229229
if (state.opts.dataComponent) {
230-
// arrowFunction.traverse(jsxVisitor.visitor, { ...state, componentName })
230+
arrowFunction.traverse(jsxVisitor.visitor, { ...state, componentName })
231231
}
232232
}
233233
}
@@ -281,7 +281,7 @@ const plugin = (): PluginObj<Options> => {
281281
}, 10000)
282282
}
283283
}
284-
// console.log(file.path.toString().replaceAll('\t', ' '))
284+
console.log(file.path.toString().replaceAll('\t', ' '))
285285
},
286286
}
287287
}

0 commit comments

Comments
 (0)