Airtable / blocks

Home Page:https://airtable.com/developers/blocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade blocks-cli to work with latest node version and fix block release

ducthangho opened this issue · comments

Hi
I needed to write a custom bundler for my project using webpack 5, babel, antd... In the process I have upgrade the current blocks-cli source code to work with the latest version of nodejs, npm and fix the issues when running rmdirAsync function (blocks-cli/lib/helpers/system_extra.js) which causes block release to hang. The dependencies of blocks-cli are also upgrade using npm-check-updates. The whole source code is attached.

Also I extended the default bundler to work with webpack 5. The webpack config and the custom bundler are attached. Using my custom bundler, I was able to reduce bundle size from 43 Mb to 4.9 Mb.
https://drive.google.com/file/d/1ZInf3OL9sHv9lp-ZeXHnPe6Tg-wEPMQj/view?usp=sharing
webpack_airtable.zip