(node: Node)
| 920 | |
| 921 | // e.g. import.meta.env.PROD, which loads nothing |
| 922 | const isInertMetaRead = (node: Node): boolean => { |
| 923 | const parent = node.parent |
| 924 | return ( |
| 925 | parent?.type === "MemberExpression" && |
| 926 | parent.object === node && |
| 927 | isInertMetaProperty(memberNameOf(parent)) |
| 928 | ) |
| 929 | } |
| 930 | |
| 931 | // inside a folded site, outside what its call keeps |
| 932 | export const isDead = (node: Span, runtime: RuntimeModule): boolean => |
no test coverage detected