gulp-bundle-manifest

0.0.7 • Public • Published

gulp-bundle-manifest

Generates a manifest file from a list of input files. This may be usefull if you are using gulp-concat.

npm install gulp-bundle-manifest
var bundleManifest = require("gulp-bundle-manifest");

gulp.task("script-manifest", function () {
  gulp.src("scripts/**/*.js")
    .pipe(bundleManifest("script-manifest.json", {base: "scripts", prefix: ""})
    .pipe(gulp.dest("."));
});

The contents of script-manifest.json will look like this:

[
  "script1",
  "lib/script2"
]

Readme

Keywords

Package Sidebar

Install

npm i gulp-bundle-manifest

Weekly Downloads

1

Version

0.0.7

License

MIT

Last publish

Collaborators

  • naltatis