@oazmi/superbuild - v0.3.2
    Preparing search index...

    Type Alias GuessExtensionLoader<L>

    GuessExtensionLoader: (
        file_path: string | URL,
        with_attr?: OnLoadArgs["with"],
    ) => L

    the return type of guessExtensionLoader_Factory, which guesses a file's loader based on its file-path and the import's with attributes, behaving similar to how esbuild behaves natively.

    Type Parameters

    • L

    Type Declaration

      • (file_path: string | URL, with_attr?: OnLoadArgs["with"]): L
      • Parameters

        • file_path: string | URL
        • Optionalwith_attr: OnLoadArgs["with"]

        Returns L