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 => ({ ... }));
Copy link
Edit on GitHub