We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to add a suffix in a function-style rename() call, the suffix gets ignored.
rename()
rename(path => { let newPath = { dirname: path.dirname, basename: path.basename, extname: path.extname, suffix: '.min', } log(newPath) return newPath })
Output of log() together with debug():
log()
debug()
{ dirname: 'src/modules/WooCommerce/public/css', basename: 'admin', extname: '.css', suffix: '.min' } [17:55:40] gulp-debug: build/src/modules/WooCommerce/public/css/admin.css
This makes sense: the suffix and prefix are not being joined in the function-style scenario like they are in the object-stye scenario.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When trying to add a suffix in a function-style
rename()
call, the suffix gets ignored.Output of
log()
together withdebug()
:This makes sense: the suffix and prefix are not being joined in the function-style scenario like they are in the object-stye scenario.
The text was updated successfully, but these errors were encountered: