How to use the @microsoft/sp-build-web.initialize function in @microsoft/sp-build-web

To help you get started, we’ve selected a few @microsoft/sp-build-web examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SharePoint / sp-dev-fx-webparts / samples / react-mytasks / gulpfile.js View on Github external
reporters: [{
                formatter: 'string',
                console: true
            }]
        }));
});
/* end sub task */

build.rig.addPreBuildTask(styleLintSubTask);

/**
 * Custom Framework Specific gulp tasks
 */


build.initialize(gulp);
github SharePoint / sp-dev-fx-webparts / tutorials / tutorial-migrate-fullcalendar / 01-migrated-sewp-to-spfx / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');

build.initialize(gulp);
github Puzzlepart / spfx-solutions / Pzl.Ext.HighlightHome / gulpfile.js View on Github external
const lastDirName = path.basename(__dirname);
      const dropPath = path.join(__dirname, 'temp', 'stats');
      generatedConfiguration.plugins.push(new bundleAnalyzer.BundleAnalyzerPlugin({
        openAnalyzer: false,
        analyzerMode: 'static',
        reportFilename: path.join(dropPath, `${lastDirName}.stats.html`),
        generateStatsFile: true,
        statsFilename: path.join(dropPath, `${lastDirName}.stats.json`),
        logLevel: 'error'
      }));
  
      return generatedConfiguration;
    }
  });

build.initialize(gulp);
github SharePoint / sp-dev-fx-webparts / samples / react-webcam / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
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.`);

build.initialize(gulp);
github SharePoint / sp-dev-fx-extensions / samples / jquery-field-itemorder / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
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.`);

build.initialize(gulp);
github SharePoint / sp-dev-fx-webparts / samples / react-image-slider-list-taxonomy-filter / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
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.`);

build.initialize(gulp);
github SharePoint / sp-dev-fx-webparts / samples / sharepoint-crud / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
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.`);

build.initialize(gulp);
github SharePoint / sp-dev-fx-webparts / tutorials / tutorial-migrate-datatables / 02-added-configuration / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');

build.initialize(gulp);
github SharePoint / sp-dev-fx-webparts / tutorials / tutorial-getting-started / jquery-webpart / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');

build.initialize(gulp);
github SharePoint / sp-dev-fx-webparts / samples / react-officegraph / gulpfile.js View on Github external
'use strict';

const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');

build.initialize(gulp);