path = require('path'); // Disable references to window from trussworks/uswds // See here: https://www.gatsbyjs.com/docs/debugging-html-builds/#fixing-third-party-modules exports.onCreateWebpackConfig = ({ stage, loaders, actions }) => { actions.setWebpackConfig({ devtool: 'eval-source-map', }); }