Skip to content

Config with Preset Fail to Generated with CLI #436

@yogiprsetya

Description

@yogiprsetya

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions