Created
March 25, 2021 14:33
-
-
Save gdhardy1/f77069d6329bf280a4a38b8d3651b953 to your computer and use it in GitHub Desktop.
Gatsby Reporter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.onPostBuild = async ({ reporter }) => { | |
fs.copyFile(`./firebase.json`, `./public/firebase.json`, (err) => { | |
if (err) { | |
reporter.error( | |
"An error occured when copying firebase.json to public dir", | |
err | |
); | |
} | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment