gulp-requirejs-bundler-with-baseurl
v0.0.1
Published
Similar to gulp-requirejs-bundler, with option to specify baseUrl
Downloads
1
Readme
gulp-requirejs-bundler
A require-bundler plugin for gulp
Usage
First, install gulp-requirejs-bundler
as a development dependency:
npm install --save-dev gulp-requirejs-bundler
Then, add it to your gulpfile.js
:
var require-bundler = require("gulp-requirejs-bundler");
gulp.src("./src/*.ext")
.pipe(require-bundler({
msg: "Hello Gulp!"
}))
.pipe(gulp.dest("./dist"));
API
require-bundler(options)
options.msg
Type: String
Default: Hello World
TODO: API details to be documented here.