Socket
Socket
Sign inDemoInstall

craco-mfsu

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

craco-mfsu

A craco plugin to speed up project builds through federation modules


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

MIT License

Craco MFSU Plugin

This is a craco plugin that to speed up project builds through federation modules.

Supported Versions

craco-mfsu is tested with:

  • react-scripts: ^5.0.0
  • @craco/craco: ^6.4.0

Installation

First, follow the craco Installation Instructions to install the craco package, create a craco.config.js file, and modify the scripts in your package.json.

Then install craco-mfsu:

$ yarn add --dev craco-mfsu

# OR

$ npm install --dev craco-mfsu

Usage

Here is a complete craco.config.js configuration file that adds MFSU to create-react-app:

const CracoMFSUPlugin = require('craco-mfsu');

module.exports = async function () {
  await CracoMFSUPlugin.init();

  return {
    plugins: [
      { plugin: CracoMFSUPlugin }
    ],
  };
};

And you need to add in the .gitignore file:

.mfsu

Contributors

License

MIT

Keywords

FAQs

Package last updated on 11 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc