sp-dev-fx-webparts/samples/react-copy-views/gulpfile.js

24 lines
580 B
JavaScript
Raw Normal View History

2022-08-29 14:17:25 -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;
};
/* fast-serve */
const { addFastServe } = require("spfx-fast-serve-helpers");
addFastServe(build);
/* end of fast-serve */
2022-09-05 17:33:15 -04:00
// disable eslint
build.lintCmd.enabled = false;
2022-08-29 14:17:25 -04:00
build.initialize(require('gulp'));