---
title: assertNoNotesUnderPages
description: >-
  A page name owns `<mount>/-/<name>/` and everything below it, so a published
  note there would be shadowed at runtime: fail the build naming it. Notes
  elsewhere under `<mount>/-/` stay notes. `routes` are the vault's published
  routes, mount path included.
updated_at: '2026-11-19T04:52:33+01:00'
created_at: '2026-03-07T03:07:52+01:00'
symbol:
  kind: function
  name: assertNoNotesUnderPages
  signatures:
    - >-
      assertNoNotesUnderPages(config:
      [[reference/api/core/ResolvedConfig|ResolvedConfig]], plugins: readonly
      [[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]][],
      routes: readonly string[]): void
  parameters:
    - name: config
      type: '[[reference/api/core/ResolvedConfig|ResolvedConfig]]'
    - name: plugins
      type: >-
        readonly
        [[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]][]
    - name: routes
      type: 'readonly string[]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/vite/src/plugins.ts#L150
---

# assertNoNotesUnderPages
