| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -251,24 +251,10 @@ const pluginOptionsSchema = (/** @type {{ Joi: import('joi') }} */ { Joi }) => { | |||
| 251 | 251 | }) | |
| 252 | 252 | } | |
| 253 | 253 | ||
| 254 | - const onCreateWebpackConfig = ({ stage, rules, loaders, plugins, actions }) => { | ||
| 255 | - actions.setWebpackConfig({ | ||
| 256 | - module: { | ||
| 257 | - rules: [ | ||
| 258 | - { | ||
| 259 | - test: /\.mdx$/, | ||
| 260 | - use: '@mdx-js/loader', | ||
| 261 | - }, | ||
| 262 | - ], | ||
| 263 | - }, | ||
| 264 | - }) | ||
| 265 | - } | ||
| 266 | - | ||
| 267 | 254 | module.exports = { | |
| 268 | 255 | createSchemaCustomization, | |
| 269 | 256 | onPreBootstrap, | |
| 270 | 257 | onCreateNode, | |
| 271 | 258 | createPages, | |
| 272 | 259 | pluginOptionsSchema, | |
| 273 | - onCreateWebpackConfig, | ||
| 274 | 260 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments