bgrins / TinyColor

Fast, small color manipulation and conversion for JavaScript
https://bgrins.github.io/TinyColor/
MIT License
5.05k stars 437 forks source link

HTML in npm package causes errors in React Native environment #145

Open josvos opened 7 years ago

josvos commented 7 years ago

Hi,

When doing npm install --save tinycolor2 in my React-Native enviroment I get 12 errors of the form node_modules/tinycolor2/test/index.html: Unexpected token (1:1). After installing, TinyColor seems to work fine though... Can't this index.html just be left out from the npm package?

bgrins commented 7 years ago

I don't see those errors in a local build. I don't see why the package needs to include index.html or any other file than tinycolor.js and tinycolor-min.js though