I have a the following structure:
src/ modules/ module1/ js/ main.js scss/ main.scss
You could simply use the options: expand : true, flatten: true
No need for custom rename callbacks.