infoscreen/gatsby-node.js

13 lines
243 B
JavaScript
Raw Normal View History

2022-01-03 13:33:42 +01:00
exports.onCreateWebpackConfig = ({
stage,
rules,
loaders,
plugins,
actions,
}) => {
actions.setWebpackConfig({
resolve: {
fallback: { "os": require.resolve("os-browserify/browser") }
}
})
}