CRA-webpack
If your repository is based on Create React App with the webpack bundler, you can check out the public examples repository and look for the commit Add QA Compass webpack loader
.
Tip
If you are running into issues with the execSync
command on your hosting service, you can provide the necessary values manually.
repoUrl: 'https://github.com/username/sample-project.git',
branch: process.env.<YOUR_HOST_GIT_COMMIT_REF> || execSync("git rev-parse --abbrev-ref HEAD").toString().trimEnd(),