---
url: /reference/OutputOptions.virtualDirname.md
---
# virtualDirname

* **Type**: `string`
* **Optional**

Specifies the directory name for "virtual" files that might be emitted by plugins when using [preserve modules mode](./OutputOptions.preserveModules).

## Default

```ts
'_virtual'
```
