webpack5: add Buffer plugin
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
This commit is contained in:
@@ -119,6 +119,7 @@ export async function createConfig(
|
||||
plugins.push(
|
||||
new ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
Buffer: ['buffer', 'Buffer'],
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user