creativecommons / cc-license-chooser

Creative Commons JavaScript license selector in the form of a JavaScript widget
GNU General Public License v2.0
16 stars 24 forks source link

Introduce node js with bundler and transpiler #7

Closed tim-kilian closed 2 weeks ago

tim-kilian commented 5 years ago

feature request I would like to have a library that I can install via common package manager like npm or yarn. That could generate and bundle the resulting js with a wide range browser compatibility.

Describe the solution you'd like First step to get rid of the php and the python bundlers could be to introduce node with webpack and babel for example.

Describe alternatives you've considered I would also suggest to build a vue component and create a widget with the vue-custom-element package.

BetaPundit commented 5 years ago

I won't suggest using external libraries to add features in the widget as it will make the widget heavier. We must focus on keeping the footprints minimal in the network.

I support the idea of using vue-custom-element for developing the widget.