Block bundling: customize webpack config

I’m developing a new block as part of this competition:
I’m having issues with react hooks (it complains that I’m using two different react versions). Is there a way to look at how you’re bundling the JS? It’s using the @airtable/blocks-cli package but I can’t figure out what that’s actually doing.

Is there a way to overwrite the webpack config you’re using? If not, could you tell me which react version you’re using?


@Lukas_Kobis - You should be able to tell which version of React you are using by looking in your package.json and/or package-lock.json files.

Currently with blocks you have no control over the webpack config, but you can specify which packages to include via package.json.

1 Like