Skip to content

Commit

Permalink
Merge pull request #214 from crapstones-forks/docs/override-internal-…
Browse files Browse the repository at this point in the history
…versions

document the environment variable to override the hardocded versions of the external tools
  • Loading branch information
benwis authored Nov 13, 2023
2 parents 4f0ad6f + 5f1bd72 commit b3a556a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,14 @@ Note when using directories:
- the two are set to the same value when running in a single-package config.
- Avoid using them at run-time unless you can guarantee that the entire project struct is available at runtime as well.

Internally the versions of the external tools called by `cargo-leptos` are hardcoded. Use these environment variables to
override the versions `cargo-leptos` should use (e.g. `LEPTOS_SASS_VERSION=1.69.5`):

- LEPTOS_CARGO_GENERATE_VERSION
- LEPTOS_TAILWIND_VERSION
- LEPTOS_SASS_VERSION
- LEPTOS_WASM_OPT_VERSION

## End-to-end testing

`cargo-leptos` provides end-to-end testing support for convenience. It is a simple
Expand Down

0 comments on commit b3a556a

Please sign in to comment.