New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@revolut/monorepo-overrides

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@revolut/monorepo-overrides

Description

1.1.0
latest
Source
npm
Version published
Weekly downloads
45
-43.04%
Maintainers
3
Weekly downloads
 
Created
Source

@revolut/monorepo-overrides

styled with prettier

✨ Features

Function for react-app-rewired that takes CRA Webpack config and returns a config that tells Webpack to compile all local @revolut packages using its Main babel-loader (there is a minimal secondary for node_modules) Also it disables reporting of ForkPlugin for those @revolut packages due to following issue. Stackoverflow

🎬 Getting started

const { webpackRevolutOverrides, jestOverride } = require('@revolut/cra-overrides')
const monorepoOverride = require('@revolut/monorepo-overrides')

module.exports = {
  webpack: (config, env) => {
    // wrap your regular overrides with monorepoOverride funciton
    config = monorepoOverride(webpackRevolutOverrides(config, env))
    return config
  },
  jest: (config) => {
    config = jestOverride(config)
    return config
  },
}

FAQs

Package last updated on 19 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts