joaojmendes 3e82d22c5f New Sample - react-multimedia-gallery - SPFx (#899)
* update docs

* Update README.md

* Update README.md

* Support to IE11

* fine tunning, added Fade on Images

* use CSS transitions

* clean extra comments
2019-07-05 15:57:15 +03:00

30 lines
736 B
JavaScript

'use strict';
// check if gulp dist was called
if (process.argv.indexOf('dist') !== -1) {
// add ship options to command call
process.argv.push('--ship');
}
const path = require('path');
const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');
const gulpSequence = require('gulp-sequence');
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
// Create clean distrubution package
gulp.task('dist', gulpSequence('clean', 'bundle', 'package-solution'));
// Create clean development package
gulp.task('dev', gulpSequence('clean', 'bundle', 'package-solution'));
/**
* Custom Framework Specific gulp tasks
*/
build.initialize(gulp);