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

Using Rollup for bundling? #196

Open
xgui3783 opened this issue Jun 19, 2019 · 2 comments
Open

Using Rollup for bundling? #196

xgui3783 opened this issue Jun 19, 2019 · 2 comments
Labels

Comments

@xgui3783
Copy link
Collaborator

xgui3783 commented Jun 19, 2019

During the hackathon, I recall @r03ert0 expressed interest in using rollup as a bundler. Compared with webpack, there are certtainly less things that needs to be configured. I had recently had a very positive experience with rollup.

I am bringing this issue up, because while there are advantages of using a bundler such as rollup, there may be significant short falls as well:

Pro:

  • using classes and ES-latest syntax
  • code splitting
  • better maintainability
  • easier to write unit tests
  • addresses Converting to ES5/6 #149
  • easier to implement poly fills (should the need arises)
  • edit: may also address Split the code #59

Con:

  • one more tool, one more place things can break
  • potentially 1 more tool maintainers need to learn to debug (though this could be partially taken care of by npm script)

I have a ~2 x 20 hr flight coming up, and if there are interest, I will be more than happy to produce a prototype.

@r03ert0
Copy link
Owner

r03ert0 commented Aug 24, 2019

hello!
sorry for the late answer...
I'm happy to decide on a bundler. Right now we're using extend if I remember well, which is far from ideal (it's simple, though).
I haven't tried rollup, but i have tried webpack (get's complex quickly) and parcel.
Parcel is really nice. Maybe have a look and we discuss again?

@xgui3783
Copy link
Collaborator Author

Coincidentally, I am just deploying a personal app built with Parcel, and am having a great experience doing it.

We can gradually migrate the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants