Skip to content

Commit a8e2a94

Browse files
committed
Refactor
1 parent 4ebc7d5 commit a8e2a94

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
/** @internal */
12
export const TO_WEB_EVENT_KEY = "rn-web-bridge";
3+
/** @internal */
24
export const WEB_ROOT_ID = "rnrb-root";

src/plugin/babel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { parseSync } from "@babel/core";
22
import traverse from "@babel/traverse";
33

4+
/**
5+
* @internal
6+
*/
47
export const isEntryFile = (src: string, filename: string) => {
58
// TODO try lighter approach
69
const ast = parseSync(src, { filename })!;

0 commit comments

Comments
 (0)