Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@angular/build): support postcss js config #28460

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BBboy01
Copy link

@BBboy01 BBboy01 commented Sep 20, 2024

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

executor: @angular-devkit/build-angular:dev-server

Users can use customized postcss config, but json only, have a lot of limitions.

Issue Number: #27819

What is the new behavior?

Users can use js config file(.js, .cjs and .mjs), it not only can handle all situations of json config, but also more powerful.

And the postcss early migration guide still recommend to use js as configuration file.

Does this PR introduce a breaking change?

  • Yes
  • No

Not support json configuration again. Try support json or ts will increase the complexity of code bases.

Other information

@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/build labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: @angular/build detected: feature PR contains a feature commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant