With sprockets:
//= require
...in application.js seems to add a <script src=...> tag to the head of my HTML. However, with browserify-rails:
window.mymodule = require('mymodule'); // mymodule is a dependency in package.json
I don't see a <script> tag for mymodule. However I AM able to use code defined inside mymodule. What is browserify doing here?