regexper-static/gatsby-node.js
2019-01-02 18:39:07 -05:00

10 lines
205 B
JavaScript

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