TinyColor
TinyColor copied to clipboard
HTML in npm package causes errors in React Native environment
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?
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