Skip to content

fs.copySync conflicts with build orchestration tools like Bazel #404

@Aghassi

Description

@Aghassi

fs.copySync(resolve(import.meta.dirname, '../app/public'), outDir_resolved)

This will blindly copy all files in a folder, including things like BUILD.bazel files. This is not supported under tools like Bazel as it is assumed those files will not be moved or copied around in the sandbox. Instead, there should be a way provided to filter the files on this command to avoid copying certain globs or file names. Then have this command documented and examples provided on how to pass globs or file names to ignore.

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