2020-08-23 20:49:32 -04:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const build = require('@microsoft/sp-build-web');
|
|
|
|
|
2022-03-04 19:49:48 -05:00
|
|
|
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
|
|
|
|
2022-03-04 19:49:48 -05:00
|
|
|
var getTasks = build.rig.getTasks;
|
|
|
|
build.rig.getTasks = function () {
|
|
|
|
var result = getTasks.call(build.rig);
|
2020-08-23 20:49:32 -04:00
|
|
|
|
2022-03-04 19:49:48 -05:00
|
|
|
result.set('serve', result.get('serve-deprecated'));
|
2020-08-23 20:49:32 -04:00
|
|
|
|
2022-03-04 19:49:48 -05:00
|
|
|
return result;
|
|
|
|
};
|
2020-08-23 20:49:32 -04:00
|
|
|
|
2022-03-04 19:49:48 -05: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'));
|