Closed koistya closed 6 years ago
Looks like this has been implemented. config.js in the root of the project contains:
/**
* React App SDK (https://github.com/kriasoft/react-app)
*
* Copyright © 2015-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
const config = {
homepage: 'htts://www.kriasoft.com/web-app/',
// Web analytics settings
analytics: {
google: { trackingID: 'UA-XXXXX-Y' },
},
// Deployment settings
deployment: {
repository: 'https://github.com/kriasoft/react-app.git',
branch: 'gh-pages',
},
};
module.exports = config;
Add a configuration file in the root of the project tree with application settings (website URL, google analytics ID, deployment URL etc.)
config.js
..or, maybe it must be in docs instead?