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

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

Open
ducthangho opened this issue Dec 24, 2021 · 0 comments

Comments

@ducthangho
Copy link

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

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

1 participant