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

fix: skip unwanted files and directories when publishing site assets #280

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

petebacondarwin
Copy link
Contributor

Sits on top of #277.


In keeping with Wrangler 1, we now skip node_modules and hidden files and directories.

An exception is made for .well-known. See https://datatracker.ietf.org/doc/html/rfc8615.

The tests also prove that the asset uploader will walk directories in general.

@petebacondarwin petebacondarwin added the blocked Blocked on other work label Jan 22, 2022
@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2022

🦋 Changeset detected

Latest commit: 92d7f70

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@threepointone threepointone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the last commit and it looked good to me.

In keeping with Wrangler 1, we now skip node_modules and hidden files and directories.

An exception is made for `.well-known`. See https://datatracker.ietf.org/doc/html/rfc8615.

The tests also prove that the asset uploader will walk directories in general.
@petebacondarwin petebacondarwin merged commit f19dde1 into cloudflare:main Jan 24, 2022
@petebacondarwin petebacondarwin deleted the keep-well-known branch January 24, 2022 15:15
@github-actions github-actions bot mentioned this pull request Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked on other work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants