UNPKG

@rspack/core

Version:

The fast Rust-based web bundler with webpack-compatible API

13 lines (12 loc) 409 B
import type { JsDependency } from "@rspack/binding"; export declare class Dependency { #private; readonly type: string; readonly category: string; readonly request: string | undefined; critical: boolean; static __from_binding(binding: JsDependency): Dependency; static __to_binding(data: Dependency): JsDependency; private constructor(); get ids(): string[] | undefined; }