Skip to content

Commit 03f6ef1

Browse files
committed
Changed: Updated Readme
1 parent e2396d5 commit 03f6ef1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ Add it to your Elixir-enhanced Gulpfile, like so:
1818
```
1919
var elixir = require('laravel-elixir');
2020
21-
require('laravel-elixir-typescript');
21+
// import the dependency
22+
var elixirTypscript = require('elixir-typescript');
2223
2324
elixir(function(mix) {
2425
mix.typescript('app.js');
2526
});
2627
```
2728

28-
This will compile your `resources/assets/typescript/index.ts` file.
29+
This will compile all *.ts files in your `resources/assets/typescript/` folder.
2930

3031
If you'd like to output to a different directory than the default `public/js`, then you may override this as well.
3132

3233
```
3334
mix.typescript('app.js', 'public/js/foo/bar');
34-
```
35+
```

0 commit comments

Comments
 (0)