karlhorky/gray

Export a module for npm

Closed this issue · 1 comments

The following should work in a modern browser environment or using a tool like webpack:

import gray from 'jquery-gray';
const gray = require('jquery-gray');

Use ES2015 for the source and then build in UMD format with webpack?

Can probably refactor the whole thing quite a bit, so closing this for now.