-
Notifications
You must be signed in to change notification settings - Fork 52
/
webpack.mix.js
101 lines (95 loc) · 2.82 KB
/
webpack.mix.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
let mix = require("laravel-mix");
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
require("laravel-mix-merge-manifest");
mix.mergeManifest();
mix
.js("resources/js/app.js", "public/js")
.sass("resources/sass/app.scss", "public/css");
mix
.js("Modules/HR/Resources/assets/js/app.js", "public/js/hr.js")
.sass("Modules/HR/Resources/assets/sass/app.scss", "public/css/hr.css");
mix
.js("Modules/User/Resources/assets/js/app.js", "public/js/user.js")
.sass("Modules/User/Resources/assets/sass/app.scss", "public/css/user.css");
mix
.js(
"Modules/SalesAutomation/Resources/assets/js/app.js",
"public/js/salesautomation.js"
)
.sass(
"Modules/SalesAutomation/Resources/assets/sass/app.scss",
"public/css/salesautomation.css"
);
mix
.js("Modules/Report/Resources/assets/js/app.js", "public/js/report.js")
.sass(
"Modules/Report/Resources/assets/sass/app.scss",
"public/css/report.css"
);
mix
.js("Modules/Revenue/Resources/assets/js/app.js", "public/js/revenue.js")
.sass(
"Modules/Revenue/Resources/assets/sass/app.scss",
"public/css/revenue.css"
);
mix
.js(
"Modules/EffortTracking/Resources/assets/js/app.js",
"public/js/efforttracking.js"
)
.sass(
"Modules/EffortTracking/Resources/assets/sass/app.scss",
"public/css/efforttracking.css"
);
mix
.js("Modules/Invoice/Resources/assets/js/app.js", "public/js/invoice.js")
.sass(
"Modules/Invoice/Resources/assets/sass/app.scss",
"public/css/invoice.css"
);
mix
.js("Modules/Project/Resources/assets/js/app.js", "public/js/project.js")
.sass(
"Modules/Project/Resources/assets/sass/app.scss",
"public/css/project.css"
);
mix
.js("Modules/Client/Resources/assets/js/app.js", "public/js/client.js")
.sass(
"Modules/Client/Resources/assets/sass/app.scss",
"public/css/client.css"
);
mix
.js("Modules/CodeTrek/Resources/assets/js/app.js", "public/js/codetrek.js")
.sass(
"Modules/CodeTrek/Resources/assets/sass/app.scss",
"public/css/codetrek.css"
);
mix
.js("Modules/Expense/Resources/assets/js/app.js", "public/js/expense.js")
.sass(
"Modules/Expense/Resources/assets/sass/app.scss",
"public/css/expense.css"
);
mix
.js("Modules/AppointmentSlots/Resources/assets/js/app.js", "public/js/appointmentslots.js")
.sass(
"Modules/AppointmentSlots/Resources/assets/sass/app.scss",
"public/css/appointmentslots.css"
);
mix
.js("Modules/Prospect/Resources/assets/js/app.js", "public/js/prospect.js")
.sass(
"Modules/Prospect/Resources/assets/sass/app.scss",
"public/css/prospect.css"
);
mix.version();