You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when using transformFilename. transformFilename: function(file, hash) { var ext = path.extname(file.path); var fileName = path.basename(file.path, ext); console.log(ext + '--' + fileName); }
Looks like it throws an error for files in sub folders.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I get this error when using
transformFilename
.transformFilename: function(file, hash) { var ext = path.extname(file.path); var fileName = path.basename(file.path, ext); console.log(ext + '--' + fileName); }
Looks like it throws an error for files in sub folders.
Thanks in advance.
The text was updated successfully, but these errors were encountered: