Closed CxRes closed 7 years ago
Try using jspm bundle ./foo/bar/index.js myBundle.js
here. Module names exist in URL space, and the bundle argument is a module name so should be /
-separated. myBundle.js
is a file name so that is ok to be \
-separated though.
@guybedford I figure that and have already fixed my code accordingly (though it goes against expectation for what an input "path" is).
But this MUST be clearly documented, perhaps with an important!
preceding it because it can be very easily missed and cause much pain for something that is rather trivial.
Will leave this open until the patch is accepted
Let there be a file, say:
that invokes
Now this works:
But this throws an error
I think this is a regression as this worked well with jspm 0.16.31 which used builder 0.15.11. I an guessing that the issue arose after 0.15.14 builder update. node 8.1.0 npm 5.0.3 jspm 0.16.53