activeadmin-plugins / active_admin_datetimepicker

:calendar: active_admin_datetimepicker gem
MIT License
73 stars 47 forks source link

Add NPM module support #78

Closed Skumring closed 2 years ago

Skumring commented 2 years ago

This PR adds support to use this repo as an NPM/Yarn package so we can use it with Webpacker or any other assets bundler. I implemented this so it uses the same source files as the Rails gem so any change in the JS and CSS is available in both cases. I didn't change the Rails gem-related code this same repo can be used in both ways.

After pack&publish NPM module has minimum files and should look like: NPM