gulp-ref

    0.0.3 • Public • Published

    gulp-ref

    Find reference asserts, join stream pipe to next.

    Example

    -app
     -index.html
     -js
      -script.js
     -css
      -style.css
     -images
      -logo.png
    
    <!--index.html-->
    <link href="css/style.css" rel="stylesheet">
    <script src="js/invalid.js"></script>
    <div class="logo"></div>
    //style.css
    .logo { background: url(../images/logo.png); }
    var ref=require("gulp-ref");
    //some task here
    gulp.src("app/*.html")
        .pipe(ref())
        .pipe(gulp.dest("dist"));
    -dist
     -index.html
     -css
      -style.css
     -images
      -logo.png
    

    Install

    npm i gulp-ref

    DownloadsWeekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    4.37 kB

    Total Files

    5

    Last publish

    Collaborators

    • zhso