docs: RPI tutorial (#6261)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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 {};
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user