Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Negan1911/rescripts-use-yarn-workspaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin is not maintained anymore! Sorry!

Use Yarn Workspaces (Rescripts Plugin)

This plugin will allow to use CRA inside a Yarn Workspace configuration, it will allow to transpile other code in the same workspace.

How to use

  1. Install the package by running:
  yarn add -D rescripts-use-yarn-workspaces
  1. On your rescripts configuration
"rescripts": [
+  "rescripts-use-yarn-workspaces"
]
  1. Run your app, external code should be transpiled.

Storybook Plugin.

Additionally, this could export helpers for storybook, to use it, on .storybook/main.js add the following:

module.exports = {
  addons: [
+   'rescripts-use-yarn-workspaces/storybook'
  ]
}