Open sgehring-panw opened 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
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