Skip to content

Instantly share code, notes, and snippets.

@brionmario
Created August 14, 2023 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brionmario/22dafb51e890fbf47a38fce4400bcb4d to your computer and use it in GitHub Desktop.
Save brionmario/22dafb51e890fbf47a38fce4400bcb4d to your computer and use it in GitHub Desktop.
Asgardeo/IS Product Config Sample POC
module.exports = {
head: `
${head}
<!-- Product Specific SEO Tags -->
`,
features: [
"@asgardeo/user-management",
[
"@asgardeo/quickstart",
{
"header": "Quick Start"
}
]
],
presets: [
webpack: (config: WebpackConfig, options: any = {}) {
const rules = [
...(config.module?.rules || []),
{
test: /\.custom-file$/,
loader: require.resolve(`custom-loader`),
},
];
config.module.rules = rules;
return config;
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment