Skip to content

Commit

Permalink
Add %PUBLIC_URL% to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow committed Jun 11, 2020
1 parent 0b80313 commit b3242d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/05-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ $ snowpack dev --no-bundle
#### Build Options

- **`baseUrl`** | `string` | Default: `/`
- Prefix all URLs with this string at build time (useful if your app lives in a subdirectory)
- In your HTML, replace all instances of `%PUBLIC_URL%` with this (inspired by the same [Create React App](https://create-react-app.dev/docs/using-the-public-folder/) concept). This is useful if your app will be deployed to a subdirectory.
- **`metaDir`** | `string` | Default: `__snowpack__`
- By default, Snowpack outputs Snowpack-related metadata such as [HMR](#hot-module-replacement) and [ENV](#environment-variables) info to a folder called `__snowpack__`. You can rename that folder with this option (e.g.: `metaDir: 'static/snowpack'`).

Expand Down

0 comments on commit b3242d8

Please sign in to comment.