Open dizel3d opened 9 years ago
A repo concisely reproducing this would be a huge help. Otherwise, I'll try to make time for this in the next couple weeks.
Ok, I am going to make an example this weekend.
I have simplified an example and made test case https://github.com/dizel3d/browserify-shim-test-cases Test-case "with browserify-shim" in browserify-1-spec.js failed: the problem is that browserify-shim includes external module a.js in bundle b.
Any updates here? Have same problem in project.
Problem is actually here: having browser alias in package.json, we don't care about anything else (like external
option).
Nope, haven't had an opportunity to look
If you don't provide a browserify alias for a
and b
, b-shim won't know what they are.
At this point just browserify externals are not supported so you need to alias them as explained here.
Anything not outlined in that readme is not currently supported.
I have 4 shimed libraries:
I want to group them in bundles:
ab
,cd
. I specified external["a", "b"]
for bundlecd
, but it still includesa
andb
content.