Skip to content

Commit

Permalink
added https browserfy
Browse files Browse the repository at this point in the history
  • Loading branch information
AniketSindhu committed Feb 5, 2024
1 parent 2e51b3b commit c5e2428
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
module.exports = function override(config, env) {
console.log("override...");
let loaders = config.resolve;

loaders.fallback = {
fs: false,
https: require.resolve("https-browserify"),
http: require.resolve("stream-http"),
zlib: require.resolve("browserify-zlib"),
path: require.resolve("path-browserify"),
Expand Down

0 comments on commit c5e2428

Please sign in to comment.