marko-js-archive / marko-widgets

[LEGACY] Module to support binding of behavior to rendered UI components rendered on the server or client
http://v3.markojs.com/docs/marko-widgets/
MIT License
141 stars 40 forks source link

Bug in browserify breaks browserify compatibility (workaround required) #116

Closed patrick-steele-idem closed 8 years ago

patrick-steele-idem commented 8 years ago

For whatever reason, browserify does not allow browser remapping for a custom named main file and it ends up including both the server version and the browser version in the same bundle. Using the default index.js file for a main file in a directory seems to solve the problem.