Created
August 14, 2023 10:02
-
-
Save brionmario/22dafb51e890fbf47a38fce4400bcb4d to your computer and use it in GitHub Desktop.
Asgardeo/IS Product Config Sample POC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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