Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack support #23

Open
mcanvar opened this issue Sep 25, 2021 · 3 comments
Open

Webpack support #23

mcanvar opened this issue Sep 25, 2021 · 3 comments

Comments

@mcanvar
Copy link

mcanvar commented Sep 25, 2021

Hi mates,

Do you consider supporting Webpack?

Thanks for supporting the browser extensions.

@Tobeyy1
Copy link

Tobeyy1 commented Aug 6, 2022

Hey guys, any update on this?

@0xETHBAE
Copy link

+1 :)

@jhonnyV-V
Copy link

well, it can be used on webpack, but you will need to do some config, I think the version that is being maintained is in the provider,

npm install -D buffer process stream-browserify

and in your webpack config

resolve: {
    fallback: {
      stream: require.resolve('stream-browserify'),
      buffer: require.resolve('buffer/'),
    },
    alias: {
      process: 'process/browser',
    },
  },
  plugins: [
    new webpack.ProvidePlugin({
      Buffer: ['buffer', 'Buffer'],
    }),
  ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants