Skip to content

support tailwind JIT from typescript tailwind.config.ts  #24943

Closed

Description

@burner-account

Command

serve

Description

With tailwind 3.3 there is the possibility to use a typescript tailwind.config.ts.

I would like to be able to pass my tailwind config around via InjectionToken, e.g. feed a BreakpointObserver with tailwind configuration values.

While JIT compiling tailwind css works great with a JS config, a TS config file currently seems to be ignored.


     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 15.2.4
Node: 18.10.0
Package Manager: npm 9.6.2
OS: linux x64

Angular: 15.2.5
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.4
@angular-devkit/build-angular   15.2.4
@angular-devkit/core            15.2.4
@angular-devkit/schematics      15.2.4
@angular/cli                    15.2.4
@schematics/angular             15.2.4
ng-packagr                      15.2.2
rxjs                            7.8.0
typescript                      4.9.5

Describe the solution you'd like

Well. Whatever you did to support tailswind in v12, please extend it to allow TS configurations ;)

Describe alternatives you've considered

No response

Activity

  1. added
    feature
    feature: under consideration
    on Apr 3, 2023
  2. added 3 commits that reference this issue on Apr 14, 2023
    66065de
    efa8aae
    e3c7e54
  3. added 2 commits that reference this issue on Apr 18, 2023
    758b069
    0b45057
  4. angular-automatic-lock-bot commented on May 19, 2023

    @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.

  5. locked and limited conversation to collaborators on May 19, 2023
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-angularfeaturefeature: under consideration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions