Compiling one Tailwind CSS for homepage and one for others without PostCSS

Viewed 15

I read similar question with answers suggesting PostCSS

But I'm interested, is there a solution without using PostCSS?

I mean, is it possible to specify in tailwind.config.js one group of templates related to homepage to be scanned by Tailwind and separate group related to other pages in order to compile one CSS output for homepage and one separate CSS for other pages?

Something like

module.exports = {
  content: {
    "homepage.css": ["./homepage/*.js"],
    "others.css": ["./others/*.js"]
  },
  theme: {
    extend: {},
  },
  plugins: [],
}

P.S. Or maybe there is a possibility of using multiple tailwind.config.js files and watching processes ?

0 Answers
Related