Skip to content

[pingy-scaffold.json] explicit vs implicit files #74

@afknapping

Description

@afknapping

so i have to write sth like this for every file:

{
    "input": "components/_component-list.pug",
    "output": "components/_component-list.pug"
}

there are two things with this:

  • if output is omitted, you could assume input = output. there might be cases where output is different, but in general i would always recommend to keep them the same anyways (simpler = easier to understand behaviour)
  • now that i forgot to add a file to that json for the first time, i thought: "why do i have to add those in the first place? why would i add files to the scaffold that i would not want in my project?" there might be special cases that need that too, but a blacklist seems less work and less config i need to think about...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions