-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: skip unwanted files and directories when publishing site assets
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.
- Loading branch information
1 parent
6cc9dde
commit f19dde1
Showing
3 changed files
with
116 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: skip unwanted files and directories when publishing site assets | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters