FarmMapsLib/custom-webpack.config.js
Willem Dantuma 0b8dbf4e2e
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
Some fixes
2022-10-26 21:31:39 +02:00

16 lines
453 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/"),
buffer: require.resolve("buffer/")
}
}
};