Stefan Bauer 34579c2e1a Update to Version 1.4.1 (#428)
* handlebarsjs webpack loader sample

* removed trashed folder

* Updated Package.json

* Added ES6 Collections

* Update HandlebarJS gulpfile.js

* Update to Version 1.4.1

* Update Drop Icon
2018-02-26 09:01:51 +01:00

23 lines
520 B
JavaScript

'use strict';
const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');
const loaderConfig = {
test: /\.hbs/,
loader: "handlebars-template-loader"
};
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
build.configureWebpack.mergeConfig({
additionalConfiguration: (generatedConfiguration) => {
generatedConfiguration.module.rules.push(loaderConfig);
return generatedConfiguration;
}
});
build.initialize(gulp);