PostCSS configuration

You may add extra PostCSS plugins to your config and Maizzle will use them when it compiles Tailwind CSS.

For example, install Autoprefixer:

npm install autoprefixer

Register it in config.js:

config.js
module.exports = {
  build: {
    postcss: {
      plugins: [
        require('autoprefixer')()
      ]
    }
  }
}

Any plugins that you register here will be added at the end of the PostCSS plugins stack, which means they'll run after Tailwind CSS.

Copyright © 2023 Maizzle SRL Brand policy
Edit this page on GitHub