Use environment variables for Vite and Cypress #150
Labels
priority: p4/minor
There is a reasonable workaround, or there is a nice to have with limited impact
scope: cypress-utils
scope: nx-plugin
scope: vite-utils
size: md
type: enhancement
New feature or request
We currently hard-code the URL that Vite uses by default into our Cypress generators (see
packages/nx-plugin/src/generators/package/cypress/e2e/index.ts
for an example). We probably should pass a port in as an environment variable that both Vite and Cypress reference so that we don't run into issues where Vite selects a different port and Cypress doesn't know.The text was updated successfully, but these errors were encountered: