1.1.0 • Published 5 years ago

gulp-html-replace-dyu v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

I make a slight change on the original plugin "https://github.com/VFK/gulp-html-replace.git".

  • remove the two unnecessary blank lines used for padding.

Example


index.html

<!DOCTYPE html>
<html>
    <head>
    <!-- build:css -->
        content will be added here
    <!-- endbuild -->
    </head>

The outputs of the original plugin:

<!DOCTYPE html>
<html>
    <head>
    A blank line will be added here
    <!-- build:css -->
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/main.css">
    <!-- endbuild -->
 	A blank line will be added here
    </head>

The outputs of the current version:

<!DOCTYPE html>
<html>
    <head>
    <!-- build:css -->
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/main.css">
    <!-- endbuild -->
    </head>