1.0.0-beta.6 • Published 7 years ago
asunder.js v1.0.0-beta.6
asunder.js
A transform to build javascript files in the browser extending all dependencies in other file.
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
1.0.0-beta.6
7 years ago
1.0.0-beta.5
7 years ago
1.0.0-beta.4
7 years ago
1.0.0-beta.3
7 years ago
1.0.0-beta.2
7 years ago
1.0.0-beta.1
7 years ago
1.0.0-beta.0
7 years ago