Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FileSystemServeOptions

Index

Properties

allow?: string[]

Restrict accessing files outside the allowed directories.

Accepts absolute path or a path relative to project root. Will try to search up for workspace root by default.

cachedChecks?: boolean

Enable caching of fs calls.

experimental
default

false

deny?: string[]

Restrict accessing files that matches the patterns.

This will have higher priority than allow. picomatch patterns are supported.

default

['.env', '.env.', '.crt', '*.pem']

strict?: boolean

Strictly restrict file accessing outside of allowing paths.

Set to false to disable the warning

default

true