sp-dev-fx-webparts/samples/react-graph-cascading-manag.../gulpfile.js

22 lines
552 B
JavaScript
Raw Normal View History

2020-08-23 20:49:32 -04:00
'use strict';
const build = require('@microsoft/sp-build-web');
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
2020-08-23 20:49:32 -04:00
var getTasks = build.rig.getTasks;
build.rig.getTasks = function () {
var result = getTasks.call(build.rig);
2020-08-23 20:49:32 -04:00
result.set('serve', result.get('serve-deprecated'));
2020-08-23 20:49:32 -04:00
return result;
};
2020-08-23 20:49:32 -04:00
/* fast-serve */
const { addFastServe } = require("spfx-fast-serve-helpers");
addFastServe(build);
/* end of fast-serve */
2020-08-23 20:49:32 -04:00
build.initialize(require('gulp'));