MiguelCastillo / amd-resolver

Resolve module names to File objects
MIT License
0 stars 1 forks source link

Add interface to `replaceExtension` #4

Closed MiguelCastillo closed 9 years ago

MiguelCastillo commented 9 years ago

There is an addExtension, but that conditionally adds the extension if one does not exist... But replaceExtension will just replace anything that already there or add it one does not exist. This will be useful for the transformation pipeline in bit-loader

/cc @Mark-Simulacrum