We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Jetbrains IDE WebStorm, replacing content and keeping the blocks seems to add a newline under the blocks when the content is changed.
gulp.task('prodBaseUrl', function(){ gulp.src('index.html') .pipe(htmlReplace( { base:{ src: 'https://myprodurl.com/index.html', tpl: '<base href="%s" />' } }, { keepBlockTags: true }) ) .pipe(gulp.dest('./')); });
after a couple of transformations, my index.html goes from this
<!-- build:base --> <base href="https://myprodurl.com/index.html" /> <!-- endbuild --> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans' type='text/css'>
to this
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Jetbrains IDE WebStorm, replacing content and keeping the blocks seems to add a newline under the blocks when the content is changed.
after a couple of transformations, my index.html goes from this
to this
The text was updated successfully, but these errors were encountered: