Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### .wranglerignore
- There may be situation where you want to ignore uploading certain static sites assets to Workers Sites.
- Every `wrangler init` or `wrangler generate` also produces a `.wranglerignore` file that can be used to ignore
- uploading certain files from the `bucket` directory specified in your `wrangler.toml`.
- `.wranglerignore` works exactly like a `.gitignore` file. If it is anywhere in your path when you invoke `wrangler preview`
- or `wrangler publish`, Wrangler will ignore the rules expressed in `.wranglerignore`.
- 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
- your `.wranglerignore` file to ensure that Wrangler only uploads the files you want.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement