FarmMapsLib/custom-webpack.config.js

16 lines
453 B
JavaScript
Raw Normal View History

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/"),
2022-09-28 19:32:15 +00:00
util: require.resolve("util/"),
buffer: require.resolve("buffer/")
2020-09-18 12:20:33 +00:00
}
2021-10-05 11:46:10 +00:00
}
};