1.1.0 • Published 2 years ago

@revolut/monorepo-overrides v1.1.0

Weekly downloads
168
License
Apache-2.0
Repository
bitbucket
Last release
2 years ago

@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
  },
}
1.1.0

2 years ago

1.0.0

2 years ago

1.0.0-beta

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago