Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/utils/build.js now requires postBuild function in gatsby-node #273

Merged
merged 4 commits into from
May 8, 2016
Merged

lib/utils/build.js now requires postBuild function in gatsby-node #273

merged 4 commits into from
May 8, 2016

Commits on May 5, 2016

  1. lib/utils/build.js now requires postBuild function in gatsby-node

    Removes requirement for a post-build.js file in the root of the project for a custom post build step in gatsby build. Instead it requires for a postBuild export in the gatsby-node file in the root of the domain, where the webpack custom configuration is also stored.
    LukeSheard committed May 5, 2016
    Configuration menu
    Copy the full SHA
    0909561 View commit details
    Browse the repository at this point in the history
  2. Add error for post build and update README

    Added a better error message for custom post-build actions defined in gatsby-node.js, explains to user that file cannot be used.
    
    Updated README.md by removing post-build.js option in the project structure and including a new section explaining how to include a post-build function for users.
    LukeSheard committed May 5, 2016
    Configuration menu
    Copy the full SHA
    5adde4b View commit details
    Browse the repository at this point in the history
  3. Ammend error message in post-build and README

    Correct some errors in the README.
    LukeSheard committed May 5, 2016
    Configuration menu
    Copy the full SHA
    fd646df View commit details
    Browse the repository at this point in the history

Commits on May 6, 2016

  1. Fixed linting error in lib/utils/build.js

    Changed strings from double to single quotes to avoid eslint error.
    LukeSheard committed May 6, 2016
    Configuration menu
    Copy the full SHA
    939c0f0 View commit details
    Browse the repository at this point in the history