Skip to content

Cleanup build artifacts in Fable 3 #2161

@ncave

Description

@ncave

This is a discussion on the best approach to clean up build artifacts in Fable 3.

Although it greatly simplifies the build to just create output files with extension .fs.js right next to source files, it is polluting the source folders by sprinkling those compiled artifacts all over the place (including potentially .nuget packages).

So far I see two ways of dealing with that:

  • Collect the list of created artifacts so they can be deleted afterwards at later stage.
  • What fable-splitter and fable-compiler-js were doing before, generate files in an output directory and modify their import references so dependencies can be properly referenced from the output folder.

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