This repository has been archived by the owner on Sep 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
gulpfile.js
48 lines (43 loc) · 1.43 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
const elixir = require('laravel-elixir');
require('laravel-elixir-vue');
require('elixir-typescript');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Sass
| file for our application, as well as publishing vendor resources.
|
*/
elixir(mix => {
mix.sass('app.scss')
.webpack('app.js')
.copy('node_modules/@angular', 'public/@angular')
.copy('node_modules/anular2-in-memory-web-api', 'public/anular2-in-memory-web-api')
.copy('node_modules/core-js', 'public/core-js')
.copy('node_modules/reflect-metadata', 'public/reflect-metadata')
.copy('node_modules/systemjs', 'public/systemjs')
.copy('node_modules/rxjs', 'public/rxjs')
.copy('node_modules/zone.js', 'public/zone.js')
.typescript(
[
'app.component.ts',
'app.module.ts',
'main.ts'
],
'public/app',
{
"target": "es5",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
}
);
})
;