Skip to content

retrun18/gulp-dojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-dojo

NPM version

Packagegulp-dojo
Description Build Dojo inside a Gulp task
Node Version >= 0.11.12
Gulp Version 3.x

Install

npm install gulp-dojo --save

Usage

  options: {
    // You can also specify options to be used in all your tasks
    dojo: 'path/to/dojo.js', // Path to dojo.js file in dojo source
    load: 'build', // Optional: Utility to bootstrap (Default: 'build')
    profile: 'app.profile.js', // Profile for build
    profiles: [], // Optional: Array of Profiles for build
    appConfigFile: '', // Optional: Config file for dojox/app
    package: '', // Optional: Location to search package.json (Default: nothing)
    packages: [], // Optional: Array of locations of package.json (Default: nothing)
    require: '', // Optional: Module to require for the build (Default: nothing)
    requires: [], // Optional: Array of modules to require for the build (Default: nothing)
    action: '', // Optional: Build action, release, help. clean has been deprecated.
    cwd: './', // Directory to execute build within
    dojoConfig: '', // Optional: Location of dojoConfig (Default: null),
    // Optional: Base Path to pass at the command line
    // Takes precedence over other basePaths
    // Default: null
    basePath: '',
    ignoreErrors: true // Options (default: false): gulp task returns successful even if there are errors in the dojo build
  }
  gulp.task('dojobuild',function(cb){
	gudojo.dojo(options,cb);
});

About

Build Dojo inside a Gulp task

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published