Skip to content

Should files be deleted in dist? #39

@marekhrabe

Description

@marekhrabe

Here you have my sundays developer story :D

I have a logo.png in my /src/images, it copies into dist when built. That's awesome.

Later on, I changed my mind to change logo to svg, so (in /src/images) I delete logo.png and copy in new logo.svg. After build, in dist folder, there is both logo.svg and logo.png (which is now obsolete 👵)

I know why this is happening, but can we somehow solve it automagically like other things in pho? I'm thinking diffing folders or something similar and I see some problems ahead. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions