FarmMapsLib/custom-webpack.config.js
2022-09-28 21:16:21 +02:00

15 lines
410 B
JavaScript

module.exports = {
resolve: {
fallback: {
// Resolve node module use of fs
fs: "empty",
Buffer: false,
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/")
}
}
};