regexper-static/gatsby-node.js

10 lines
205 B
JavaScript
Raw Normal View History

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