Skip to content

Check if static dir exists before copying #8

@moritztim

Description

@moritztim

Correct me if I'm wrong, but I think this should work without any static files, so there should be a check if the static dir exists, before copying it.

bext/source/main.ts

Lines 66 to 70 in 03be6e3

// Copy JS/HTML/CSS/ICONS
ensureDir(`${distDir}/static`)
const options = { overwrite: true }
copySync('static', distDir, options)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions