Fixed webpack build

Build failed due to missing polyfills needed by @azure/msal-node.
This commit is contained in:
Lars 2022-08-12 18:02:06 +02:00
parent 92183e0fb6
commit 4f03024200
2 changed files with 4 additions and 2 deletions

View File

@ -71,6 +71,7 @@
"dropbox": "^10.28.0", "dropbox": "^10.28.0",
"emoji-regex": "^10.1.0", "emoji-regex": "^10.1.0",
"http-status-codes": "^2.2.0", "http-status-codes": "^2.2.0",
"https-browserify": "^1.0.0",
"localforage": "^1.10.0", "localforage": "^1.10.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"loglevel": "^1.8.0", "loglevel": "^1.8.0",
@ -86,6 +87,7 @@
"rfc4648": "^1.5.1", "rfc4648": "^1.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"stream-browserify": "^3.0.0", "stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"url": "^0.11.0", "url": "^0.11.0",
"util": "^0.12.4", "util": "^0.12.4",
"webdav": "^4.9.0", "webdav": "^4.9.0",

View File

@ -55,8 +55,8 @@ module.exports = {
// crypto: false, // crypto: false,
// domain: require.resolve("domain-browser"), // domain: require.resolve("domain-browser"),
// events: require.resolve("events"), // events: require.resolve("events"),
// http: require.resolve("stream-http"), http: require.resolve("stream-http"),
// https: require.resolve("https-browserify"), https: require.resolve("https-browserify"),
net: false, net: false,
// os: require.resolve("os-browserify/browser"), // os: require.resolve("os-browserify/browser"),
path: require.resolve("path-browserify"), path: require.resolve("path-browserify"),