For @joshb: I completely got rid of webpack.config.preset.js
, the only thing that you need there is the line
config: path.join( __dirname, 'postcss.config.tailwind.js' ), // PostCSS tailwind specific config
and I put it on the css
rule because with autoprefixer
and postcss-nested
PostCSS plugins and the @apply
Tailwind function I don’t need Sass anymore