Yamlify page objects
This commit is contained in:
@@ -7,22 +7,27 @@ module.exports = {
|
||||
config.experiments = { asset: true };
|
||||
|
||||
config.module.rules.push(
|
||||
{
|
||||
test: /\.ya?ml$/,
|
||||
use: 'js-yaml-loader',
|
||||
|
||||
},
|
||||
{
|
||||
test: /\.svg$/,
|
||||
use: [{ loader: "@svgr/webpack" }]
|
||||
use: [{ loader: "@svgr/webpack" }],
|
||||
},
|
||||
{
|
||||
test: /\.md$/,
|
||||
type: 'asset/source'
|
||||
type: 'asset/source',
|
||||
},
|
||||
{
|
||||
test: /\.otf$/,
|
||||
type: 'asset/resource'
|
||||
type: 'asset/resource',
|
||||
},
|
||||
{
|
||||
resourceQuery: /raw/,
|
||||
type: 'asset/source',
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user