[TaskRequest] steem-editor – Upgrade webpack and babel
Repository
https://github.com/BuildTeamDev/steem-editor
https://github.com/BuildTeamDev/steem-editor/issues/1
Details
Right now steem-editor is using babel 6 and webpack 2, both relatively old versions of the tools. They are used to compile, bundle and compress all files needed for the editor, so that users have a fast working library.
We want to upgrade to babel 7 and webpack 4. This will require the reword of some build process components and might be a trial and error process.
The babel project has a guide what changed in babel 7: https://babeljs.io/docs/en/v7-migration
For webpack there might be two migration steps, resources that might be helpful:
- https://github.com/webpack/webpack.js.org/issues/1569
- https://webpack.js.org/migrate/3/
- https://webpack.js.org/migrate/4/
Components
The upgrade should increment version numbers for webpack, babel and related libraries in https://github.com/BuildTeamDev/steem-editor/blob/master/package.json
There is a folder with webpack build scripts that need to be revised to ensure that the new build process has not degraded in performance or resulting package quality: https://github.com/BuildTeamDev/steem-editor/tree/master/webpack
The current babel config is very small https://github.com/BuildTeamDev/steem-editor/blob/master/.babelrc but preset logic changed so the new config will be more complicated. Maybe you can improve upon it with new features :)
Be sure to test that the distributed file https://github.com/BuildTeamDev/steem-editor/blob/master/dist/steem-editor.js is not degrading in size. Bonus points if you can compress it even more.
You can run npm run build to compile the dist/steem-editor.js and see errors, or you can run npm run dev to start a development server that auto rebuilds a test application. Both these processes should continue to work after the upgrade. You can compare the size of dist/steem-editor.js as a benchmark.
Bounty + Deadline
This task is rewarded with a bounty of 50 BUILDTEAM tokens. You need a bitshares account to receive them.
If the task is competed before this post pays out, an additional bounty of 50 STEEM is added.
There is no hard deadline on the task. Should your work be of exceptional quality and improve the resulting distribution quality by a noticeable margin, additional rewards are possible.
Communication
Communication about the task is best done under this post or under the github issue https://github.com/BuildTeamDev/steem-editor/issues/1 but if chat is your preferred method of communication, join our discord https://discord.buildteam.io and ping reggaemuffin.
GitHub Account
Leave [TaskRequest] steem-editor – Upgrade webpack and babel to:
Read more #utopian-io posts
Best Posts From ReggaeMuffin
We have not curated any of reggaemuffin's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From ReggaeMuffin
- My chipadvisor results
- 5th Steem meetup Aachen – A lot of beer and talk
- New Project – TokenBB Frontend – A forum client for the Steem Blockchain
- [TaskRequest] steem-editor – Upgrade webpack and babel
- New Project – Steem Editor – A Vue Markdown Editor optimized for the Steem Blockchain
- Let us the Community take Steem Governance into our own Hands!
- SteemFest recap - @cleanplanet
- Meet me at SteemFest 3
- Road to Steemfest – It's Muffin Time!
- SteemCommunity update – New changes from steemit/steem repo up for review
- Witness Update – What I am doing as a witness lately
- Introducing the SteemCommunity Organization
- Witness Statement for @reggaemuffin – Proposing Hardfork Adoption Requirements
- HF20 – the afterglow
- Upgrading my witness to 128GB and appbase
- Home again – a witness update
- Want great curation rewards? Introducing the ReggaeMuffin Awesome Authors Guild
- The Steemit Name Challenge - @reggaemuffin
- A different kind of LHC
- Why I delegated 10,000 SP to steemSTEM and why I hope that you will do the same