Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit 4ff7f05

Browse files
okaufmannOliver Kaufmann
authored andcommitted
Notice upgrade to latest version
1 parent 8d34b42 commit 4ff7f05

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ elixir-typescript
88
## Prerequirement
99
You have to install [Laravel's Elixir](http://laravel.com/docs/master/elixir)(Version 3.0 or higher) and its dependencies first.
1010

11-
## Upgrade
11+
## Upgrade to v2.1.0
1212
The signature was changed to the following:
1313

1414
```js
15-
mix.typescript(src, output, options);
15+
mix.typescript(src, baseDir, output, options);
1616
```
1717

1818
## Installation
@@ -43,7 +43,7 @@ This will compile the `app.ts` file in `resources/assets/typescript/` and concat
4343
If you'd like to output to a different directory than the default `public/js`, then you may override this by provide a path for `output` as well.
4444

4545
```js
46-
mix.typescript('app.js', 'public/js/foo/bar.js');
46+
mix.typescript('app.ts', null, 'public/js/foo/bar.js');
4747
```
4848

4949
Further you could insert multiple files like
@@ -63,4 +63,5 @@ Bellow is the list of the available parameters:
6363

6464
- **src**: Filename for output
6565
- **output**(optional): Where to place the output file. Default: `public/js/`
66+
- **baseDir,**(optional): Where to search your ts files. Default: `null`
6667
- **options** (optional): Options to forward to the `gulp-typescript` used for compiling. All options under https://github.com/ivogabe/gulp-typescript#options

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "elixir-typescript",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Laravel Elixir Typescript Compiler Extension",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)