Skip to content

exclude external paths option#5

Open
AVCEngineering wants to merge 1 commit intoLeanKit-Labs:masterfrom
AVCEngineering:exclude-external-paths-option
Open

exclude external paths option#5
AVCEngineering wants to merge 1 commit intoLeanKit-Labs:masterfrom
AVCEngineering:exclude-external-paths-option

Conversation

@AVCEngineering
Copy link
Copy Markdown

adds an option to exclude external paths such //cdn.js/jquery.1.14.js. Option is false by default. Fixes #4

Usage:

gulp.task( 'default', function() {
	gulp.src( [ 'source/*.*' ] )
		.pipe( pathPrefix( { prefix: '/analytics', excludeExternal: true } ) )
		.pipe( gulp.dest( './result' ) );
} );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant