Created
July 31, 2017 18:53
-
-
Save VictorQueiroz/132458c44e80405334b09aef8a8f516a to your computer and use it in GitHub Desktop.
Transform several files inside a folder but keep the architecture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('jsx_extension_is_bad',function() { | |
gulp | |
.src('./src/**/*.jsx') | |
.pipe(rename({extname: '.js'})) | |
.pipe(gulp.dest('./src', {pwd: './'})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment