bradlc / tailwind.macro

MIT License
50 stars 1 forks source link

Using Tailwind plugins with tailwind.macro #4

Open NikkiJonesR opened 5 years ago

NikkiJonesR commented 5 years ago

Hi there,

Is it possible to load tailwind plugins within tailwind.maco?

For instance something like this?

// babel-plugin-macros.config.js
module.exports = {
  tailwind: {
    config: './tailwind.js',
    format: 'auto',
    plugins: [
      require('./src/tailwind-custom-plugins/my-tailwind-plugin.js')
    ],
  }
}