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
-6
View File
@@ -1,7 +1,6 @@
/* eslint-disable @typescript-eslint/naming-convention */
const glob = require("glob");
const path = require("path");
const webpack = require("webpack");
const target = "web";
const distdir = path.join(__dirname, "dist", "web");
@@ -15,10 +14,5 @@ module.exports = [
path: distdir,
filename: "tests.js",
},
plugins: [
new webpack.ProvidePlugin({
Buffer: ["buffer", "Buffer"],
}),
],
},
];