> For the complete documentation index, see [llms.txt](https://www.pollen.style/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pollen.style/utils/defineconfig.md).

# defineConfig

Pollen exports a configuration helper function to give full typescript support in any file, including plain JS config files.

{% code title="pollen.config.js" %}

```javascript
const { defineConfig } = require('pollen-css/utils');

module.exports = defineConfig(pollen => ({ ... }));
```

{% endcode %}
