mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
Add installation (#116)
This commit is contained in:
parent
05779f671e
commit
4d8c85f098
@ -12,6 +12,15 @@ This is a rewrite of original rollup-plugin-typescript, starting and borrowing f
|
||||
|
||||
This version is somewhat slower than original, but it will print out typescript syntactic and semantic diagnostic messages (the main reason for using typescript after all).
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# with npm
|
||||
npm install rollup-plugin-typescript2 typescript --save-dev
|
||||
# with yarn
|
||||
yarn add rollup-plugin-typescript2 typescript --dev
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user