defineConfig

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

pollen.config.js
const { defineConfig } = require('pollen-css/utils');

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

Last updated