Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Created May 25, 2016 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanoats/c36deec6849b0ddd9170f27968ae3a09 to your computer and use it in GitHub Desktop.
Save ivanoats/c36deec6849b0ddd9170f27968ae3a09 to your computer and use it in GitHub Desktop.
gatsby-node.js
const fs = require('fs-extra')
exports.postBuild = function ign (pages, callback) {
console.log('in IGN!')
const file = 'testing'
fs.outputFile(file, 'works', (err) => {
console.log(err)
})
callback()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment