Add transformPath option

Allows users to configure the preprocessor with a function to transform the file path. 
Useful if you don't want the file name changed to `.js` but keeps the default behavior