push-based / user-flow

📦 Combine Chrome tooling like Lighthouse userflows and DevTools reconder scripts in your CI
MIT License
118 stars 3 forks source link

Read config from JS file #234

Open edbzn opened 1 year ago

edbzn commented 1 year ago

Actually user-flow reads config from JSON config files only, which can be limiting if I want to have clever config, for example:

module.exports = {
  collect: {
    url: process.env.BASE_URL ?? 'https://fallback-url/' ,
    ufPath: "./user-flows"
  }
};