Parcel application bundler


#1

I just came across https://parceljs.org/ and I instantly thought this could be a great improvement for ember cli build times. Has anyone tried this out yet ?

Cheers Thomas


#2

Yes, I believe it’s definitely on the radar for the Ember-CLI folks. Some of the folks at LinkedIn we’re celebrating on Twitter the day it came out … :wink:

But if you’ve got the time/inclination, I’m sure they could use a hand working on things. Want me to introduce you to someone on the CLi team?


#3

As far as I was able to tell while investigating this, there are 2 reasons the rebuild is so slow:

  1. cli is processing the same stuff (e.g. addons) over and over again (30-50% of rebuild time), instead of just taking what was done previously, if the input hasn’t changed. There is some work done at https://github.com/broccolijs/broccoli-plugin/pull/23 , but hasn’t moved lately.
  2. cli uses source-map, mozilla’s super slow source-map library (another ~30% of rebuild time). https://github.com/ef4/fast-sourcemap-concat would have to make the switch to https://github.com/krisselden/fast-source-map .

#4

Unfortunately I am not able to sink a lot of time into this, I just thought it might be something the dev team could find interesting.


#5

I would like to work on this! :slight_smile: would love to do a POC on parceljs. Can you help?


#6

@ksashikumar if you’re interested in helping, folks would love to put you to work! :slight_smile:

On the community Slack channel, there is a #dev-ember-cli channel that would be the best place to speak up and volunteer to help. If you don’t have an account yet, you can sign up here: https://ember-community-slackin.herokuapp.com

Tell them that you’d love to help in whatever way they need. We’re always looking for willing volunteers to help with different things! :slight_smile: