FarmMapsLib/custom-webpack.config.js
Willem Dantuma a408f4bffa
All checks were successful
FarmMaps/FarmMapsLib/pipeline/head This commit looks good
Some fixes
2022-09-28 21:32:15 +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/")
}
}
};