Neverending Package Mountain

    This package has been deprecated

    Author message:

    This package is deprecated; please use @latest to install the latest version. Refer to https://www.twilio.com/docs/flex/developer/plugins/cli for more information.

    craco-config-flex-plugin
    TypeScript icon, indicating that this package has built-in type declarations

    3.14.6 • Public • Published

    Version Download License

    CRACO Config Flex Plugin

    CRACO is an easy and comprehensible configuration layer for create-react-app. It allows you to configure things like eslint, babel, and webpack, without using eject.

    Installation

    craco-config-flex-plugin dependency is automatically added to your package.json when you create a new plugin with create-flex-plugin.

    Usage

    To add custom jest or webpack configuration, you can provide jest.config.js and webpack.config.js. If these files exist in the root directory, then your configuration is merged into the default configuration; e.g. merge(defaultConfig, yourConfig).

    For more control over the configuration, you can edit the craco.config.js. You will need to use craco.config.js if you need to append changes to the configuration, as opposed to replacing a key completely. For example, to append a new webpack plugin, use config.plugins.push(newPlugin) within your craco.config.js file. Please visit craco documentation for more information.

    Contributing

    Make sure to follow the instructions in the main repository to set up the project.

    # Install dependencies and link-local packages with each other
    cd packages/craco-config-flex-plugin
    npx lerna bootstrap
    
    # Run tests
    npm test
    
    # To use your local package in a different project
    npm link
    # then in a different project
    npm link craco-config-flex-plugin

    Contributors

    Thank you to all the lovely contributors to this project. Please check the main repository to see all contributors.

    License

    MIT

    Install

    npm i craco-config-flex-plugin

    DownloadsWeekly Downloads

    630

    Version

    3.14.6

    License

    MIT

    Unpacked Size

    23.3 kB

    Total Files

    18

    Last publish

    Collaborators

    • ktalebian
    • theryankennedy
    • ahcai
    • jtgi
    • twilio-labs-ci
    • krishnakalluri
    • alvarezcindy
    • agupt
    • flex-runtime