Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Block bundling: customize webpack config

Topic Labels: Scripting extentions
558 1
cancel
Showing results for 
Search instead for 
Did you mean: 

I’m developing a new block as part of this competition: https://airtable.devpost.com/
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?

Thanks!

1 Reply 1

@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.