docs: RPI tutorial (#6261)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Angie Jones
2025-12-23 22:56:12 -06:00
committed by GitHub
parent 48f2dc2d2c
commit 841bd5d2f4
5 changed files with 1257 additions and 14 deletions
+12 -13
View File
@@ -1,18 +1,17 @@
module.exports = function () {
return {
name: 'custom-yaml-loader',
configureWebpack() {
return {
module: {
rules: [
{
test: /\.ya?ml$/,
use: 'yaml-loader',
},
],
},
};
name: 'custom-webpack-loaders',
configureWebpack(config) {
config.module.rules.push({
test: /\.ya?ml$/,
use: 'yaml-loader',
});
config.module.rules.push({
test: /\.raw$/,
type: 'asset/source',
});
return {};
},
};
};