2020-09-18 12:20:33 +00:00
|
|
|
module.exports = {
|
2021-10-05 11:46:10 +00:00
|
|
|
resolve: {
|
|
|
|
fallback: {
|
2020-09-18 12:20:33 +00:00
|
|
|
// Resolve node module use of fs
|
|
|
|
fs: "empty",
|
|
|
|
Buffer: false,
|
2022-09-28 19:16:21 +00:00
|
|
|
http: require.resolve("stream-http"),
|
|
|
|
https: require.resolve("https-browserify"),
|
|
|
|
url: require.resolve("url/"),
|
|
|
|
zlib: require.resolve('browserify-zlib'),
|
|
|
|
assert: require.resolve("assert/"),
|
|
|
|
util: require.resolve("util/")
|
2020-09-18 12:20:33 +00:00
|
|
|
}
|
2021-10-05 11:46:10 +00:00
|
|
|
}
|
|
|
|
};
|