Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/umijs/umi-plugin-pnp

Umi plugin to support Plug'n'Play of yarn.
https://github.com/umijs/umi-plugin-pnp

Last synced: 3 months ago
JSON representation

Umi plugin to support Plug'n'Play of yarn.

Lists

README

        

# umi-plugin-pnp

Umi plugin to support Plug'n'Play of yarn.

## Usage

Configure in `.umirc.js`,

```js
export default {
plugins: [
['umi-plugin-pnp', { alias: true }],
],
}
```

## Options

* `alias` -- default `false`, set webpack alias for `@babel/runtime`, `core-js` and `regenerator-runtime`, or you will need to install these dependencies in your project

## Example

* [Example](./example)

## LICENSE

MIT