Adding config to make component importing easier

This commit is contained in:
Jeff Avallone 2019-01-02 18:39:07 -05:00
parent 6fc3062146
commit 49f3c16c2c

9
gatsby-node.js Normal file
View File

@ -0,0 +1,9 @@
const path = require('path');
exports.onCreateWebpackConfig = ({ actions }) => {
actions.setWebpackConfig({
resolve: {
modules: [path.resolve(__dirname, 'src'), 'node_modules']
}
});
};