ottypes / json0

Version 0 of the JSON OT type
447 stars 64 forks source link

Require json0 with Browserify #14

Closed ghost closed 5 years ago

ghost commented 8 years ago

Hi,

I use ShareJS with Browserify, and I have a browser-side error: Error: Cannot find module 'ot-json0'

I have verified in the source of the bundle generated by Browserify and the code of ot-json0 is here. How can I resolve that ?

Thanks by advance, Thomas.

josephg commented 5 years ago

Hi! I'm sorry I didn't get back to your issue. I don't know why you were having this problem; but whenever I've tried, browserify has worked fine with this library. Since this issue is so old I'm going to close it. Please re-open this issue with an example test case if you're still having problems. (Some code which reproduces the issue + your invocation of browserify)