2019-09-05 13:49:19 -04:00
|
|
|
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.`);
|
|
|
|
|
2021-10-20 01:10:41 -04:00
|
|
|
var getTasks = build.rig.getTasks;
|
|
|
|
build.rig.getTasks = function () {
|
2022-06-02 16:07:50 -04:00
|
|
|
var result = getTasks.call(build.rig);
|
2019-09-05 13:49:19 -04:00
|
|
|
|
2022-06-02 16:07:50 -04:00
|
|
|
result.set('serve', result.get('serve-deprecated'));
|
2021-10-20 01:10:41 -04:00
|
|
|
|
2022-06-02 16:07:50 -04:00
|
|
|
return result;
|
2021-10-20 01:10:41 -04:00
|
|
|
};
|
2022-06-02 16:07:50 -04:00
|
|
|
|
|
|
|
// ********* ADDED *******
|
|
|
|
// disable tslint
|
|
|
|
build.tslintCmd.enabled = false;
|
|
|
|
// ********* ADDED *******
|
|
|
|
|
|
|
|
build.initialize(require('gulp'));
|