sp-dev-fx-webparts/samples/react-news-extension/gulpfile.js

23 lines
654 B
JavaScript
Raw Normal View History

2023-10-04 16:22:21 -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.`);
2023-10-17 11:23:45 -04:00
build.addSuppression(`Warning - [sass] The local CSS class 'news-container' is not camelCase and will not be type-safe.`);
2023-10-04 16:22:21 -04: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;
};
/* fast-serve */
const { addFastServe } = require("spfx-fast-serve-helpers");
addFastServe(build);
/* end of fast-serve */
build.initialize(require('gulp'));