justask.dev

Community powered answers to your dev questions

Pass options to gatsby-config.js

posted: 2019 December 5th

category: gatsby

Edit this post on GitHub.

Back

To pass options to the gatsby-config.js

1module.exports = (options) => {
2 const {
3 lots,
4 and,
5 lots,
6 and,
7 lots,
8 of,
9 options
10 } = options;
11
12 return {
13 plugins: [...myplugins]
14 };

Author: Rich Haines