Clear webpack Node.js polyfills

This commit is contained in:
willclarktech
2021-05-19 17:54:52 +02:00
parent 94445b0255
commit 0faa96bffd
42 changed files with 72 additions and 688 deletions
+3 -5
View File
@@ -15,13 +15,11 @@ module.exports = [
path: distdir,
filename: "tests.js",
},
plugins: [
new webpack.EnvironmentPlugin({ SOCKETSERVER_ENABLED: "" }),
new webpack.ProvidePlugin({ process: "process/browser" }),
],
plugins: [new webpack.EnvironmentPlugin({ SOCKETSERVER_ENABLED: "" })],
resolve: {
fallback: {
assert: require.resolve("assert"),
assert: false,
child_process: false,
},
},
},