2017-05-06 07:27:17 -04:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const build = require('@microsoft/sp-build-web');
|
|
|
|
|
2020-02-10 04:34:49 -05:00
|
|
|
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
|
|
|
|
|
2022-01-13 17:28:40 -05:00
|
|
|
var getTasks = build.rig.getTasks;
|
|
|
|
build.rig.getTasks = function () {
|
|
|
|
var result = getTasks.call(build.rig);
|
|
|
|
|
|
|
|
result.set('serve', result.get('serve-deprecated'));
|
|
|
|
|
|
|
|
return result;
|
|
|
|
};
|
|
|
|
// disable tslint
|
|
|
|
build.tslintCmd.enabled = false;
|
|
|
|
|
|
|
|
build.initialize(require('gulp'));
|