goto-bus-stop / split-require

commonjs-first bundle splitting, for browserify
https://npmjs.com/package/split-require
MIT License
82 stars 8 forks source link

see if we can make aliasify work #12

Open goto-bus-stop opened 6 years ago

goto-bus-stop commented 6 years ago

ref @alterx's choo starter project:

https://github.com/alterx/choo-browserify-beaker-starter/blob/8dafff279ce75f536dff4bbc5d80c0d7bb797c42/index.js#L21-L31

i think aliasify looks for require() calls in the source and rewrites them, so i'm not sure what we can do to fix this. worth investigating anyway.