@peron_js/web-cli 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -4
  2. package/dist/index.js +72 -72
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -23,10 +23,12 @@ Run `web --help` or `web <command> --help` for details.
23
23
 
24
24
  ## Building
25
25
 
26
- Set `PROXY_BASE` at build time to route every request through a URL-prefix proxy
27
- (`<PROXY_BASE>/<url>`). Redirects are followed automatically, so the proxy must
28
- rewrite any `Location` it returns to stay within the proxy. Leave it unset to
29
- fetch targets directly.
26
+ Set `PROXY_BASE` at build time to configure a URL-prefix proxy
27
+ (`<PROXY_BASE>/<url>`). `search` always routes through it; `fetch` goes direct
28
+ by default and opts in with `--proxy` (the flag only exists in builds
29
+ configured with a proxy). Redirects are followed automatically, so the proxy
30
+ must rewrite any `Location` it returns to stay within the proxy. Leave it unset
31
+ to fetch targets directly.
30
32
 
31
33
  ```bash
32
34
  PROXY_BASE=https://proxy.example bun run build