In Sage 9, I created config-local.json alongside config.json and used config-local.json to store my devURL. The config-local.json file was excluded from GIT.
With Sage 10, I’m asked to set me local dev server in the bud.config.js file.
The bud.config.js file is version controlled, so I’m wondering on the best way to handle this issue.
/**
* Target URL to be proxied by the dev server.
*
* This is your local dev server.
*/
.proxy('http://kwd-it-22.test')
I’ve then created bud.config.development.js with the following.
/**
* @typedef {import('@roots/bud').Bud} bud
*
* @param {bud} app
*/
module.exports = async (app) => {
app
/**
* Target URL to be proxied by the dev server.
*
* This is your local dev server.
*/
.proxy('http://kwd-it-22.test')
};
Now if I run yarn dev, I just get the following output.