Parser options for asset modules.

Hierarchy

  • AssetParserOptions

Properties

Properties

dataUrlCondition?: AssetParserDataUrlOptions | ((source, context) => boolean)

The condition for inlining the asset as DataUrl.

Type declaration

    • (source, context): boolean
    • Parameters

      • source: string | Buffer
      • context: {
            filename: string;
            module: Module;
        }
        • filename: string
        • module: Module

      Returns boolean

Generated using TypeDoc