Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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