Yamlify page objects

This commit is contained in:
2022-04-23 19:03:43 -04:00
parent 7ac30458d1
commit 088932a742
13 changed files with 235 additions and 249 deletions

View File

@@ -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