-
Notifications
You must be signed in to change notification settings - Fork 9
/
gulpfile.js
34 lines (25 loc) · 1.09 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
var elixir = require('laravel-elixir');
var del = require('del');
// elixir.config.publicPath = 'web';
elixir.extend('remove', function(path) {
new elixir.Task('remove', function() {
del(path);
});
});
elixir(function(mix) {
// your mixes here
mix.sass('gui.scss');
mix.sass('carousel.component.scss');
mix.sass('popup.component.scss');
mix.sass('submit-form.component.scss');
mix.copy('node_modules/angular2', 'public/node_modules/angular2');
mix.copy('node_modules/rxjs', 'public/node_modules/rxjs');
mix.copy('node_modules/systemjs', 'public/node_modules/systemjs');
mix.copy('node_modules/es6-promise', 'public/node_modules/es6-promise');
mix.copy('node_modules/es6-shim', 'public/node_modules/es6-shim');
mix.copy('node_modules/zone.js', 'public/node_modules/zone.js');
mix.copy('node_modules/jquery', 'public/node_modules/jquery');
mix.copy('node_modules/bootstrap', 'public/node_modules/bootstrap');
mix.copy('resources/assets/typescript/*.js', 'public/app');
mix.remove('resources/assets/typescript/*.js*');
});