Closed groovecoder closed 8 years ago
I figured it out. I had left in the JSON.parse()
call after the require()
. But require()
takes care of parsing the JSON data already. Updated commit.
:+1: thanks!
Heads up, I think this will end up being pretty big for a browser bundle, thanks to the size of the caniuse-db dependency. Perhaps there's a way to slim it down, though.
Also, thanks for the other issues/PR's you filed recently -- I've been insanely busy, but I'm hoping to have a chance to take a look at them maybe this weekend...
I'm trying to
require()
thefeatures-json
data, so I can try to browserifydoiuse
, but I'm getting:I'm not sure what would cause this? Or how to get better output - exactly where is the Unexpected token?