Skip to content

inlineStyle and inlineTemplate should have precedence when used with minimal #17528

@EatonZ

Description

@EatonZ

🚀 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

PR #16988 has changed project generation in a way that prevents external styles and templates from being generated when using the minimal flag with ng new.

Describe the solution you'd like

If you prefer this behavior by default, that is fine, but can you please make it so that when inlineStyle=true and inlineTemplate=true with minimal=true, it will actually generate the external files? Right now, those settings are ignored when used with minimal, and I don't believe they should be.

Describe alternatives you've considered

I just regenerate the app component once the project has spun up (after removing inlineTemplate and inlineStyle from angular.json). That sets everything up the way I want, but it's still an extra step I'd like to avoid.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions