Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Allow config file to expose a function instead #265

Open
pirelenito opened this issue Oct 21, 2016 · 0 comments
Open

Allow config file to expose a function instead #265

pirelenito opened this issue Oct 21, 2016 · 0 comments

Comments

@pirelenito
Copy link
Member

This allows the config to be more robust, something like:

module.exports = function (action) {
  return {
    pages: action === 'develop' ? ['index', 'playground'] : ['index']
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant