Posts by Thiago Franchin • 26 points
3 posts
-
0
votes1
answer56
viewsA: Gulp Babel({ presets: ["env"] }), does not see external directory
I managed to solve by adding in presets the name of the folder where it would fetch the package and then putting the . map(require.resolve) to find the folder. The final code went like this:…
-
1
votes1
answer40
viewsA: Condition to ignore ".min.js" files
replace the code: return gulp.src(paths.scripts.src) By code: return gulp.src([ `${paths.scripts.src}/*.js`, `!${paths.scripts.src}/*.min.js` ])…
-
0
votes1
answer56
viewsQ: Gulp Babel({ presets: ["env"] }), does not see external directory
I am using Gulp to compile my JS files. I have TWO folders where there are JS files, one INSIDE the project (daughter folder themes/) and another this FORA (parent folder modules/). When using the:…