I’m passing a valid PostCSS plugin to StencilJS in the usual way via the PostCSS configuration, and I get an unexpected error message at runtime:
Build Error: @tailwindcss/postcss is not a PostCSS plugin at Processor.normalize ...
stencil.config.ts
import { Config } from '@stencil/core';
import { postcss } from '@stencil-community/postcss';
export const config: Config = {
plugins: [
postcss({
plugins: [
'@tailwindcss/postcss': {},
],
})
]
};