Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for secured sites and browsersync to vite (#307)
* Add type hints for vite * Use valet cetificates in vite if the site is secured * Install `vite-plugin-browser-sync` npm package * Add npm script for vite with browsersync env variable * Ensure vite uses current ip as host * Add the browsersync plugin to vite if the env variable is present * Remove unnecessary semicolons * optimize ternary operator * ensure browsersync is only used if device is connected to a network * add whitespace after assignment operator * open external url with browsersync
- Loading branch information