a.js
var uid = require('matthewmueller/uid');
var fmt = require('yields/fmt');
var msg = fmt('Your unique ID is %s!', uid());
window.alert(msg);
b.js
var uid = require('matthewmueller/uid');
var fmt = require('yields/fmt');
var msg = fmt('Your unique ID is %s!', uid());
window.alert(msg);
//a.js and b.js required same module
//I want to konw how generate the common.js ;
//in html
<script src="common.js"></script/>
<script src="a.js"></script>
like this
thank your help