---
title: WranglerAssetsSchema
description: Assets config; main/assets can be auto-populated at build from vault outDir.
updated_at: '2026-11-25T15:26:28+01:00'
created_at: '2026-03-07T03:07:52+01:00'
symbol:
  kind: variable
  name: WranglerAssetsSchema
  signatures:
    - >-
      const WranglerAssetsSchema: Schema.Struct<{ binding:
      Schema.optional<typeof Schema.String>; directory: Schema.optional<typeof
      Schema.String>; html_handling:
      Schema.optional<Schema.Literal<["auto-trailing-slash",
      "force-trailing-slash", "drop-trailing-slash", "none"]>>;
      not_found_handling:
      Schema.optional<Schema.Literal<["single-page-application", "404-page",
      "none"]>>; run_worker_first: Schema.optional<Schema.Union<[typeof
      Schema.Boolean, Schema.Array$<typeof Schema.String>]>> }>
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/core/src/wrangler/schema.ts#L33
---

# WranglerAssetsSchema
