Commit Graph

3 Commits

Author SHA1 Message Date
Lokesh Dhakar
8236c9d71f refactor: Move validation logic to core 2019-07-21 22:58:43 -07:00
Lokesh Dhakar
71e007c1ec chore: Updated dist files 2019-07-21 18:57:49 -07:00
Lokesh Dhakar
c91f3e808e feat: Add module support with new dist files
- `/dist/color-thief.umd.js`: UMD module. For simple script tag loading that exposes a global variable or for RequireJS AMD support.
- `/dist/color-thief.js`: CommonJS module. Entry point for Node.js and Browserify.
- `/dist/color-thief.mjs`: ES6 module. For modern browsers as well as Webpack and Rollup.
- `/dist/color-thief.min.js`: Duplicate of `/dist/color-thief.umd.js`. Kept around to maintain backwards compatibility.
2019-07-14 20:00:27 -07:00