15 lines
451 B
JavaScript
15 lines
451 B
JavaScript
'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.configureWebpack.mergeConfig({
|
|
additionalConfiguration: (config) => {
|
|
config.externals = config.externals.filter(name => !(["react", "react-dom"].includes(name)))
|
|
return config;
|
|
}
|
|
});
|
|
|
|
build.initialize(gulp);
|