Home / Function/ matchesEntireLine() — vite Function Reference

matchesEntireLine() — vite Function Reference

Architecture documentation for the matchesEntireLine() function in rolldownDepPlugin.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  37a2069c_71c7_90ea_ee57_c6aabd55a030["matchesEntireLine()"]
  88c474dd_3ef0_0479_2549_43cd02a6f84b["rolldownDepPlugin.ts"]
  37a2069c_71c7_90ea_ee57_c6aabd55a030 -->|defined in| 88c474dd_3ef0_0479_2549_43cd02a6f84b
  5e378bd7_4558_94a6_54bf_d9742f54d2e9["escapeRegex()"]
  37a2069c_71c7_90ea_ee57_c6aabd55a030 -->|calls| 5e378bd7_4558_94a6_54bf_d9742f54d2e9
  style 37a2069c_71c7_90ea_ee57_c6aabd55a030 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/optimizer/rolldownDepPlugin.ts lines 365–365

const matchesEntireLine = (text: string) => `^${escapeRegex(text)}$`

Subdomains

Frequently Asked Questions

What does matchesEntireLine() do?
matchesEntireLine() is a function in the vite codebase, defined in packages/vite/src/node/optimizer/rolldownDepPlugin.ts.
Where is matchesEntireLine() defined?
matchesEntireLine() is defined in packages/vite/src/node/optimizer/rolldownDepPlugin.ts at line 365.
What does matchesEntireLine() call?
matchesEntireLine() calls 1 function(s): escapeRegex.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free