browserify / browser-resolve

resolve function which support the browser field in package.json
MIT License
102 stars 70 forks source link

require('utils') + JSON.parse #3

Closed Raynos closed 11 years ago

Raynos commented 11 years ago

Should built_ins/utils and friends use jsonify instead of JSON.parse and JSON.stringify

This allows us to use require('utils') in IE<8

defunctzombie commented 11 years ago

I would prefer to minimize the added surface area. More browsers support JSON.parse than don't so it hurts more than it helps cause it adds code that has to be packaged.