tailwindcss-classnames icon indicating copy to clipboard operation
tailwindcss-classnames copied to clipboard

Config with Preset Fail to Generated with CLI

Open yogiprsetya opened this issue 2 years ago • 1 comments

Environment:

  • TailwindCSS 3.1.8:
  • tailwindcss-classnames 3.0.5:
  • Node.js 14.18.1:

Current Behavior

Generate default config

Expected Behavior

Generate tailwind.config.js with any presets

How to Reproduce

Generate with CLI

module.exports = {
  presets: [require('the-preset-module')],
  content: ['src/**/*.{ts,tsx}'],
  theme: {
    0: 0,
    4: '4px',
    154: '154px'
  }
};

Possible solutions (Optional)

Additional Questions

  • [x] I've searched the issues list and this is not a duplicate
  • [x] I'm willing to fix this error

yogiprsetya avatar Aug 14 '22 16:08 yogiprsetya

I am also seeing this issue

rockmusicmaker avatar Oct 26 '22 17:10 rockmusicmaker