Skip to content

Check for tailwind.config.cjs when detecting tailwind #23236

Closed

Description

@L2jLiga

🚀 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Description

Tailwind uses require to load config and it breaks build when ""type": module" is set in package.json

Describe the solution you'd like

Tailwind itself looking for both tailwind.config.js and tailwind.config.cjs

Looking for tailwind config with both extensions (js, cjs) to determine whether project use it or not

Activity

  1. added this to the needsTriage milestone on May 27, 2022
  2. added
    freq1: low
    and removed on May 27, 2022
  3. modified the milestones: needsTriage, Backlog on May 27, 2022
  4. added 4 commits that reference this issue on May 27, 2022
    893095d
    5952fea
    ffb94ba
    05da2a2
  5. added 2 commits that reference this issue on May 27, 2022
    ee2e756
    48630cc
  6. angular-automatic-lock-bot commented on Jun 27, 2022

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @angular-devkit/build-angularfreq1: lowseverity3: brokentype: bug/fix

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions