Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

fix: add 'Buffer' to webpack.ProvidePlugin list #1733

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function ui(_env: unknown, argv: Argv): webpack.Configuration {
},
plugins: [
new webpack.ProvidePlugin({
Buffer: ["buffer", "Buffer"],
process: "process",
}),
new HtmlWebpackPlugin({
Expand Down