Skip to content

Overriding webpack ProvidePlugin issue #17333

Answered by bard
ghost asked this question in Help
Jan 26, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

I encountered the same problem. Eventually, I worked around it by leaving webpack's configuration alone and adding this to preview.tsx:

import { Buffer } from 'buffer';

global.Buffer = Buffer;

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ghost
Comment options

@ghost
Comment options

@bard
Comment options

@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant