File tree Expand file tree Collapse file tree 3 files changed +761
-19
lines changed
Expand file tree Collapse file tree 3 files changed +761
-19
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,38 @@ elixir((mix) => {
88 */
99 mix . sass ( 'app.scss' ) ;
1010
11+ /**
12+ * Concatenating font-awesome styles files in vendor.css
13+ */
1114 mix . styles ( [
1215 './node_modules/font-awesome/css/font-awesome.css'
1316 ] , 'public/css/vendor.css' ) ;
1417
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' ) ;
1622
1723 /**
1824 * Building Javascript files
1925 */
2026 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+
2145} ) ;
Original file line number Diff line number Diff line change 1010 "jquery" : " ^3.2.1" ,
1111 "laravel-elixir" : " ^6.0.0-14" ,
1212 "laravel-elixir-browserify-official" : " ^0.1.3" ,
13+ "laravel-elixir-browsersync-official" : " ^1.0.0" ,
1314 "laravel-elixir-vue-2" : " ^0.2.0" ,
1415 "laravel-elixir-webpack-official" : " ^1.0.2" ,
1516 "lodash" : " ^4.16.2" ,
You can’t perform that action at this time.
0 commit comments