Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. ### .wranglerignore
  2. There may be situation where you want to ignore uploading certain static sites assets to Workers Sites.
  3. Every `wrangler init` or `wrangler generate` also produces a `.wranglerignore` file that can be used to ignore
  4. uploading certain files from the `bucket` directory specified in your `wrangler.toml`.
  5.  
  6. `.wranglerignore` works exactly like a `.gitignore` file. If it is anywhere in your path when you invoke `wrangler preview`
  7. or `wrangler publish`, Wrangler will ignore the rules expressed in `.wranglerignore`.
  8. By default, it ignores hidden directories and files, as well as `node_modules` directories. You're free to add more directories, files, and wildcard expressions to
  9. your `.wranglerignore` file to ensure that Wrangler only uploads the files you want.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement