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
import * as cdk from "aws-cdk-lib"; | |
import {CfnUserPoolUserToGroupAttachment, IUserPool} from "@aws-cdk/aws-cognito"; | |
import {AwsCustomResource, AwsCustomResourcePolicy, PhysicalResourceId} from "@aws-cdk/custom-resources"; | |
export class UserPoolUser extends cdk.Stack { | |
constructor(scope: cdk.App, id: string, props: { | |
userPool: IUserPool, | |
username: string, | |
password: string, |
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
const paths = require('react-scripts/config/paths'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const ManifestPlugin = require('webpack-manifest-plugin'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
// Export function to override the CRA webpack config | |
module.exports = function override(config, env) { | |
// Replace single entry point in the config with multiple ones | |
// Note: you may remove any property below except "popup" to exclude respective entry point from compilation | |
config.entry = { |