react-code-locator 0.2.3 → 0.2.6
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/dist/esbuild.cjs +20 -35
- package/dist/esbuild.cjs.map +1 -1
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +20 -35
- package/dist/esbuild.js.map +1 -1
- package/dist/index.cjs +25 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +25 -40
- package/dist/index.js.map +1 -1
- package/dist/swc.cjs +20 -35
- package/dist/swc.cjs.map +1 -1
- package/dist/swc.d.cts +1 -1
- package/dist/swc.d.ts +1 -1
- package/dist/swc.js +20 -35
- package/dist/swc.js.map +1 -1
- package/dist/{transform-z2n_1yc5.d.cts → transform-MuIatgc3.d.cts} +3 -0
- package/dist/{transform-z2n_1yc5.d.ts → transform-MuIatgc3.d.ts} +3 -0
- package/dist/unplugin.cjs +25 -40
- package/dist/unplugin.cjs.map +1 -1
- package/dist/unplugin.d.cts +1 -1
- package/dist/unplugin.d.ts +1 -1
- package/dist/unplugin.js +25 -40
- package/dist/unplugin.js.map +1 -1
- package/dist/webpack.cjs +23 -38
- package/dist/webpack.cjs.map +1 -1
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +23 -38
- package/dist/webpack.js.map +1 -1
- package/package.json +1 -2
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Source transform using acorn + acorn-typescript + acorn-jsx
|
|
3
3
|
* Pure JS, fully bundlable, no native bindings required
|
|
4
|
+
*
|
|
5
|
+
* Strategy: parse AST to find positions, then inject via string manipulation
|
|
6
|
+
* (no code regeneration — preserves original TypeScript/JSX exactly)
|
|
4
7
|
*/
|
|
5
8
|
interface TransformOptions {
|
|
6
9
|
filename: string;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Source transform using acorn + acorn-typescript + acorn-jsx
|
|
3
3
|
* Pure JS, fully bundlable, no native bindings required
|
|
4
|
+
*
|
|
5
|
+
* Strategy: parse AST to find positions, then inject via string manipulation
|
|
6
|
+
* (no code regeneration — preserves original TypeScript/JSX exactly)
|
|
4
7
|
*/
|
|
5
8
|
interface TransformOptions {
|
|
6
9
|
filename: string;
|