Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit 3b5cbca

Browse files
committed
Add Readme
1 parent 0e350fc commit 3b5cbca

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
11
# rollup-plugin-alias
2-
Provide an alias for modules in Rollup
2+
Define aliases when bundling packages with Rollup.
3+
4+
[![Build Status](https://travis-ci.org/frostney/rollup-plugin-alias.svg?branch=master)](https://travis-ci.org/frostney/rollup-plugin-alias) [![Dependency Status](https://david-dm.org/frostney/rollup-plugin-alias.svg)](https://david-dm.org/frostney/rollup-plugin-alias) [![devDependency Status](https://david-dm.org/frostney/rollup-plugin-alias/dev-status.svg)](https://david-dm.org/frostney/rollup-plugin-alias#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/github/frostney/rollup-plugin-alias/badge.svg?branch=master)](https://coveralls.io/github/frostney/rollup-plugin-alias?branch=master)
5+
6+
## Installation
7+
```
8+
npm install rollup-plugin-alias
9+
```
10+
11+
## Usage
12+
```
13+
import { rollup } from 'rollup';
14+
import alias from 'rollup-plugin-alias';
15+
16+
rollup({
17+
entry: './src/index.js',
18+
plugins: [alias({
19+
somelibrary: './mylocallibrary'
20+
})],
21+
});
22+
```
23+
24+
## License
25+
MIT, see `LICENSE` for more information

0 commit comments

Comments
 (0)