[docs] Add OSS Skills Marketplace (#6752)
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
module.exports = function () {
|
||||
return {
|
||||
name: 'custom-webpack-loaders',
|
||||
configureWebpack(config) {
|
||||
configureWebpack(config, isServer, utils) {
|
||||
// Add YAML loader
|
||||
config.module.rules.push({
|
||||
test: /\.ya?ml$/,
|
||||
use: 'yaml-loader',
|
||||
});
|
||||
|
||||
// Add .raw file loader
|
||||
config.module.rules.push({
|
||||
test: /\.raw$/,
|
||||
type: 'asset/source',
|
||||
});
|
||||
|
||||
return {};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user