wiledal / gulp-include

Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools.
158 stars 68 forks source link

Question about src/js/main.js #98

Open sgehring-panw opened 4 years ago

sgehring-panw commented 4 years ago

Hi!

gulp.src('src/js/main.js') .pipe(include({ extensions: 'js', hardFail: true, separateInputs: true, includePaths: [ __dirname + '/bower_components', __dirname + '/src/js' ] })) .pipe(gulp.dest('dist/js'))

In the example above you reference "src/js/main.js". What is this file path for, if you are placing include syntax in a html, or js file?

Stephen