• Preparing search index...
  • The search index is not available
@shopify/cli-kit
  • @shopify/cli-kit
  • node/mimes
  • lookupMimeType

Function lookupMimeType

  • lookupMimeType(fileName: string): string
  • Returns the MIME type for a filename.

    Parameters

    • fileName: string

      Filename.

    Returns string

    The mime type.

    • Defined in packages/cli-kit/src/public/node/mimes.ts:10

Settings

Member Visibility
@shopify/cli-kit
  • Loading...

Generated using TypeDoc