diff --git a/gatsby-node.js b/gatsby-node.js new file mode 100644 index 0000000..7061327 --- /dev/null +++ b/gatsby-node.js @@ -0,0 +1,9 @@ +const path = require('path'); + +exports.onCreateWebpackConfig = ({ actions }) => { + actions.setWebpackConfig({ + resolve: { + modules: [path.resolve(__dirname, 'src'), 'node_modules'] + } + }); +};