File tree 3 files changed +761
-19
lines changed
3 files changed +761
-19
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,38 @@ elixir((mix) => {
8
8
*/
9
9
mix . sass ( 'app.scss' ) ;
10
10
11
+ /**
12
+ * Concatenating font-awesome styles files in vendor.css
13
+ */
11
14
mix . styles ( [
12
15
'./node_modules/font-awesome/css/font-awesome.css'
13
16
] , 'public/css/vendor.css' ) ;
14
17
15
- mix . copy ( 'node_modules/font-awesome/fonts' , 'public/fonts' ) ;
18
+ /**
19
+ * Coping fonts of font-awesome for public/build/fonts path
20
+ */
21
+ mix . copy ( 'node_modules/font-awesome/fonts' , 'public/build/fonts' ) ;
16
22
17
23
/**
18
24
* Building Javascript files
19
25
*/
20
26
mix . webpack ( 'app.js' ) ;
27
+
28
+ /**
29
+ * Versioning files
30
+ */
31
+ mix . version ( [
32
+ 'public/css/vendor.css' ,
33
+ 'public/css/app.css' ,
34
+ 'public/js/app.js' ,
35
+ ] ) ;
36
+
37
+ /**
38
+ * Syncing files in Browser
39
+ */
40
+ mix . browserSync ( {
41
+ proxy : 'app:8080' ,
42
+ open : false ,
43
+ } ) ;
44
+
21
45
} ) ;
Original file line number Diff line number Diff line change 10
10
"jquery" : " ^3.2.1" ,
11
11
"laravel-elixir" : " ^6.0.0-14" ,
12
12
"laravel-elixir-browserify-official" : " ^0.1.3" ,
13
+ "laravel-elixir-browsersync-official" : " ^1.0.0" ,
13
14
"laravel-elixir-vue-2" : " ^0.2.0" ,
14
15
"laravel-elixir-webpack-official" : " ^1.0.2" ,
15
16
"lodash" : " ^4.16.2" ,
You can’t perform that action at this time.
0 commit comments