mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-06 13:08:23 +00:00
27 lines
497 B
JavaScript
27 lines
497 B
JavaScript
'use strict';
|
|
|
|
const gulp = require('gulp');
|
|
const build = require('@microsoft/sp-build-web');
|
|
|
|
build.configureWebpack.mergeConfig({
|
|
additionalConfiguration: (generatedConfiguration) => {
|
|
generatedConfiguration.module.rules.push(
|
|
{
|
|
test: /\.md$/,
|
|
use: [
|
|
{
|
|
loader: 'html-loader'
|
|
},
|
|
{
|
|
loader: 'markdown-loader'
|
|
}
|
|
]
|
|
}
|
|
);
|
|
|
|
return generatedConfiguration;
|
|
}
|
|
});
|
|
|
|
build.initialize(gulp);
|