Closed unscriptable closed 11 years ago
curl 0.7.x supports the moduleLoader config option, but it's misplaced. It currently has to be in a package's config object:
curl({ packages: [ { name: 'foo', location: 'here/foo', main: 'bar' config: { moduleLoader: 'curl/loader/cjsm11' } } ] });
We'd like to rename it to "transform", and the top level seems like a better place for it:
curl({ packages: [ { name: 'foo', location: 'here/foo', main: 'bar', transform: 'curl/loader/cjsm11' } ] });
In a future release, we may allow multiple transforms, but this feature request is just for a single transform.
:+1:
This will be implemented differently in 0.8.
curl 0.7.x supports the moduleLoader config option, but it's misplaced. It currently has to be in a package's config object:
We'd like to rename it to "transform", and the top level seems like a better place for it:
In a future release, we may allow multiple transforms, but this feature request is just for a single transform.