@reticlehq/babel-plugin 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -23,6 +23,6 @@ export default defineConfig({
|
|
|
23
23
|
module.exports = { plugins: [require('@reticlehq/babel-plugin').default] };
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
After this, `
|
|
26
|
+
After this, `reticle_look { action: "element" }` returns `component.source = { file, line, column }`. Only host elements (`<div>`, `<button>`, …) are stamped; components are left untouched.
|
|
27
27
|
|
|
28
28
|
**Opting one file out:** a file whose first non-empty line is `// @reticle-ignore` (or `/* @reticle-ignore */`) is not stamped at all. Whole file, first line — the reasons to opt out are file-shaped, and a marker that works from anywhere is a marker nobody can find. Apache-2.0.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reticlehq/babel-plugin",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Babel plugin that stamps data-reticle-source=\"file:line:col\" on JSX host elements so @reticlehq/react can map a DOM node to its source (works on React 19, which dropped _debugSource).",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"NOTICE"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@reticlehq/core": "3.
|
|
43
|
+
"@reticlehq/core": "3.4.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@babel/core": "^7"
|