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

ES6 Compatability #875

Closed
3 of 5 tasks
saivan opened this issue Jun 24, 2018 · 4 comments
Closed
3 of 5 tasks

ES6 Compatability #875

saivan opened this issue Jun 24, 2018 · 4 comments
Milestone

Comments

@saivan
Copy link
Member

saivan commented Jun 24, 2018

Hopefully you can see, we've been quite hard at work on developing some awesome new features; that we think you're going to love, to svg.js.

As discussed with @Fuzzyma, this issue is supposed to open the gate for es6 compatibility (I'm publicly declaring that I'm going to get him for this one 😜). We were thinking about modifying the build system a little bit to bring this library up to date with what is going on throughout the javascript ecosystem.

This issue is meant to allow the rest of you to get involved as well, and chime in on where you think changes need to be made!

These are the changes we (loosely) plan to make:

  • Modularise the library to make it easy for you to tree shake out the parts that you don't need
  • Make plugin integration painless (hopefully just an npm-install and import statement somewhere)
  • Using rollup to bundle the library up into parts such as 'svgjs-core', 'svgjs-element', etc...
  • Update some key parts of the code to es6
  • Provide builds for web browsers that target 99% of the features supported by users using babel's env plugin.

If you have any suggestions or better ideas, please join in :)

@saivan saivan added this to the 3.0.0 milestone Jul 2, 2018
@saivan
Copy link
Member Author

saivan commented Nov 12, 2018

Okay, we merged this into the 3.0.0 branch; so can we close it yet @Fuzzyma ?

@Fuzzyma
Copy link
Member

Fuzzyma commented Nov 12, 2018

Well - I couldnt check all the boxes yet :D. Thats why I let it open. Sure we are es6, but the plugins are not. And the builds arent working perfectly too. So - your call!

@Fuzzyma
Copy link
Member

Fuzzyma commented Nov 12, 2018

I think we should take the Make plugin integration painless checkbox from the milestone. It is not directly related to the major version bump. Albeit its a nice to have, it will be done, AFTER svg.js v3 is released

@saivan
Copy link
Member Author

saivan commented Dec 2, 2018

This is done with 3.0

@saivan saivan closed this as completed Dec 2, 2018
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

2 participants