Collection of gulp tasks for building Ionic apps
Branch: master
Clone or download
Latest commit 612ee0e Oct 5, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
browserify-es2015
browserify-typescript
fonts-copy
html-copy feat(): add scripts-copy task Mar 22, 2016
lint-typescript
sass-build chore(): update package.json Mar 15, 2016
scripts-copy docs: update readme to include all default src files Jul 14, 2016
webpack chore(webpack): update to 2.0.0 May 2, 2016
.gitignore
README.md Update README.md Oct 5, 2016

README.md

[Deprecated]

Now that Ionic 2 is out of beta, please see the ionic-app-scripts repository for Ionic 2 build configuration scripts.

Ionic Gulp tasks

A curated collection of Gulp tasks for building Ionic apps. Using these tasks allows you to stay up to date if the default Ionic 2 build changes while it is in beta.

Tasks

Tasks are configured to work by default with the Ionic starters generated by the Ionic CLI.

The current list of tasks is:

* Community maintained (not in this repo)

Usage

To use a task in your Ionic project's Gulpfile, require it, then register it:

var gulp = require('gulp'),
    buildWebpack = require('ionic-gulp-webpack-build');

gulp.task('build', buildWebpack);

API

Each task takes an optional options object:

  gulp.task('watch', function(){
    return webpackBuild({ watch: true });  
  });

The options depend on each task. For more information on a particular task, take a look at its README.

Return value

Each task returns either a stream or promise.