rescripts-use-yarn-workspaces

1.3.4 • Public • Published

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'
  ]
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.4
    22
    • latest

Version History

Package Sidebar

Install

npm i rescripts-use-yarn-workspaces

Weekly Downloads

22

Version

1.3.4

License

MIT

Unpacked Size

9.91 kB

Total Files

7

Last publish

Collaborators

  • negan1911