This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/website/gatsby-node.js

13 lines
277 B
JavaScript
Raw Normal View History

2021-03-31 17:08:38 +00:00
const path = require(`path`);
2021-03-23 12:07:19 +00:00
2021-03-28 14:46:32 +00:00
exports.onCreateWebpackConfig = ({ actions }) => {
actions.setWebpackConfig({
resolve: {
fallback: {
crypto: require.resolve("crypto-browserify"),
stream: require.resolve("stream-browserify"),
},
},
});
};