Closed ian-ng closed 4 months ago
The "HTML Env Replacement" feature is not work inside the <?php ?> tag.
Issue:
// path: env/.env VITE_ENV=development
// path: index.php <?php $env = "%VITE_ENV%";?>
- Output (Issue)
- Expected output
// path: index.php <?php $env = "development";?>
Uh, that's an interesting one since the PHP snippets are inserted post compilation 🤔 But I agree - it is definitely a nice feature to have! Will definitely look into it.
The "HTML Env Replacement" feature is not work inside the <?php ?> tag.
Issue:
// path: index.php <?php $env = "%VITE_ENV%";?>
// path: index.php <?php $env = "%VITE_ENV%";?>
// path: index.php <?php $env = "development";?>