[TaskRequest] steem-editor – Upgrade webpack and babel

in #utopian-io6 years ago

image.png

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:

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

https://github.com/reggaemuffin

Sort:  

It's cool to see you are reviving this project and making it available for others, like @steempeak, to use! I've personally only ever used Webpack and Babel once, and it was a pain in the arse to figure out, but I'm sure there are others on here who have much more experience and can actually help you out. Good luck finding them (I'm sure the 50 STEEM bounty will help)!


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @amosbastian! Keep up the good work!

Hi @reggaemuffin I am currently working on this for you, as discussed on Discord.

Wow. This is a great function of steem editor. Does it work too on mobile phone. Great improvement in upgrading their work tool. Thanks @reggaemuffin

Posted using Partiko Android

Hi, @reggaemuffin!

You just got a 7.66% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Hi @reggaemuffin!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @reggaemuffin!

Thanks for contributing on Utopian.
We’re already looking forward to your next task request!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

This post has been included in the latest edition of SoS Daily News - a digest of all you need to know about the State of Steem.

Coin Marketplace

STEEM 0.26
TRX 0.19
JST 0.037
BTC 91836.73
ETH 3327.10
USDT 1.00
SBD 3.93