2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
title: Pattern configuration file
|
2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
```js
|
|
|
|
import { version } from '../package.json'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
version,
|
|
|
|
name: "sorcha",
|
|
|
|
// More configuration here
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
A pattern configuration file exports a default object with the following properties:
|
|
|
|
|
2022-01-12 19:27:07 +01:00
|
|
|
<ReadMore />
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
<Note>
|
|
|
|
|
|
|
|
This is about the pattern configuration file, used at build-time.
|
|
|
|
|
2022-01-12 19:27:07 +01:00
|
|
|
For run-time configuration, see [Pattern settings](/reference/api/settings).
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
</Note>
|
2021-10-17 18:26:00 +02:00
|
|
|
|