1.0.5 • Published 8 years ago

gulp-loadbysuffix v1.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Load File By File Suffix

It's useful for load multi version file with same name.

USEAGE

  • In gulpfile.js
var countryCode = "sg";
var countries = ["sg","au"];
gulp.src("src/origin/**/*.*")
        .pipe(cache("cacheFor"+countryCode))
        .pipe(loadbysuffix({suffix:countryCode,allSuffix:countries}))
        .pipe(dest(countryCode))
        .pipe(gulp.dest("./src"))
  • In normal javascript file
    var ComponentA = require("componenta.jsx");
1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago