2022-09-25 07:26:40 -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.`);
|
|
|
|
|
|
|
|
var getTasks = build.rig.getTasks;
|
|
|
|
build.rig.getTasks = function () {
|
|
|
|
var result = getTasks.call(build.rig);
|
|
|
|
|
|
|
|
result.set('serve', result.get('serve-deprecated'));
|
|
|
|
|
|
|
|
return result;
|
|
|
|
};
|
|
|
|
|
2022-09-25 07:42:16 -04:00
|
|
|
/* fast-serve */
|
|
|
|
const { addFastServe } = require("spfx-fast-serve-helpers");
|
|
|
|
addFastServe(build);
|
|
|
|
/* end of fast-serve */
|
|
|
|
|
2022-09-25 07:26:40 -04:00
|
|
|
build.initialize(require('gulp'));
|
2022-09-25 07:42:16 -04:00
|
|
|
|