add docs with components
This commit is contained in:
parent
5d2a29a436
commit
ce240aedf6
223 changed files with 20606 additions and 6210 deletions
18
docs/plugins/index.js
Normal file
18
docs/plugins/index.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
module.exports = function(context, options) {
|
||||
return {
|
||||
name: 'loaders',
|
||||
configureWebpack(config, isServer) {
|
||||
return {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(gif|png|jpe?g|svg)$/i,
|
||||
exclude: /\.(mdx?)$/i,
|
||||
use: ['file-loader', { loader: 'image-webpack-loader' }],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue