From b66aeb814a8b4012360471750b9e7dd0ca645fd5 Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Wed, 18 Aug 2021 19:12:40 -0700 Subject: [PATCH] Polyfill Buffer (#988) --- webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 1da7c9c02..a1cb34e5a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -113,6 +113,7 @@ module.exports = function (_env = {}, argv = {}) { new CleanWebpackPlugin(), new webpack.ProvidePlugin({ process: "process/browser", + Buffer: ["buffer", "Buffer"], }), new CreateFileWebpack({ path: "./dist", @@ -229,6 +230,7 @@ module.exports = function (_env = {}, argv = {}) { alias: { process: "process/browser", }, + fallback: { crypto: false, fs: false,