asunder.js

1.0.0-beta.6 • Public • Published

asunder.js

A transform to build javascript files in the browser extending all dependencies in other file.

npm npm npm

Inspired on browserify but with all style of Gulp.

const gulp = require("gulp")
const asunder = require("asunder.js").asunder

gulp.task("script", () =>
  gulp.src("src/scripts/**/*.js")
  .pipe(asunder({
    modules: [
      "react",
      "react-render",
      "debug",
      "lodash",
      "jquery"
    ],
  }))
  .pipe(gulp.dest("www"))
)

// Output files
// www/app.js
// www/app.requeriments.js

What up? In the behaviour.

OLD

NOW

Package Sidebar

Install

npm i asunder.js

Weekly Downloads

1

Version

1.0.0-beta.6

License

MIT

Last publish

Collaborators

  • jondotsoy