I have a question about how to write something that’s written in the docs, or more generally about how to use a dict. For PostCSS it says it will accept a list of plugins to use, but how is that written? In other words, dict can do Key:Value but how do you write “key:value1, value2”
My attempts have all failed. I think I don’t understand the syntax.
(I know this can be done with a js file, but please bear with me as I learn about keys and values here.)
Thank you so much for taking a moment to answer my question. I do plan to stick to a config file, but this brought the question to mind and I wanted to take it as a learning opportunity. And now, thanks again, I know!
‘Use’ expected type ‘string’, got unconvertible type ‘string’, value: ‘[postcss-100vh-fix autoprefixer]’
The docs seem to indicate (“List of PostCSS plugins to use”) that there’s a more elegant way of specifying multiple PostCSS plugins than just calling the function repeatedly, as I’m doing now. Is this in fact the case?
(Yes, I know we can add a whole new config file full of beautiful JS boilerplate, but it seems an awfully bloaty way of duplicating matter that, according to the docs, can just be expressed in a one-liner.)