Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CopyFiles does not copy files beginning with . (dot) #1208

Open
Thibibi opened this issue May 13, 2023 · 0 comments
Open

CopyFiles does not copy files beginning with . (dot) #1208

Thibibi opened this issue May 13, 2023 · 0 comments

Comments

@Thibibi
Copy link

Thibibi commented May 13, 2023

I tried to setup CopyFiles copy assets/.htaccess to my build directory, to no avail. Nothing works, except renaming it at the source (assets/my.htaccess) and renaming it with the "to" clause:

This works only if there is something before the dot (xxx.htaccess):

    .copyFiles({
        from: './assets',
        to: '.[ext]',
        pattern: /\.htaccess$/
    })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant