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.
- Host: GitHub
- URL: https://github.com/umijs/umi-plugin-pnp
- Owner: umijs
- License: mit
- Created: 2018-10-09T09:25:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T10:17:14.000Z (about 6 years ago)
- Last Synced: 2024-07-28T20:33:05.130Z (3 months ago)
- Language: JavaScript
- Size: 144 KB
- Stars: 7
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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