forked from akaunting/akaunting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
75 lines (62 loc) · 3.51 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
const 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.
|
*/
//mix.js('resources/assets/js/views/**/*.js', 'public/js')
mix
// Auth
.js('resources/assets/js/views/auth/forgot.js', 'public/js/auth')
.js('resources/assets/js/views/auth/login.js', 'public/js/auth')
.js('resources/assets/js/views/auth/permissions.js', 'public/js/auth')
.js('resources/assets/js/views/auth/reset.js', 'public/js/auth')
.js('resources/assets/js/views/auth/roles.js', 'public/js/auth')
.js('resources/assets/js/views/auth/users.js', 'public/js/auth')
// Banking
.js('resources/assets/js/views/banking/accounts.js', 'public/js/banking')
.js('resources/assets/js/views/banking/transactions.js', 'public/js/banking')
.js('resources/assets/js/views/banking/transfers.js', 'public/js/banking')
.js('resources/assets/js/views/banking/reconciliations.js', 'public/js/banking')
// Common
.js('resources/assets/js/views/common/items.js', 'public/js/common')
.js('resources/assets/js/views/common/companies.js', 'public/js/common')
.js('resources/assets/js/views/common/dashboards.js', 'public/js/common')
.js('resources/assets/js/views/common/reports.js', 'public/js/common')
.js('resources/assets/js/views/common/search.js', 'public/js/common')
// Sales
.js('resources/assets/js/views/sales/invoices.js', 'public/js/sales')
.js('resources/assets/js/views/sales/revenues.js', 'public/js/sales')
.js('resources/assets/js/views/sales/customers.js', 'public/js/sales')
// Purchases
.js('resources/assets/js/views/purchases/bills.js', 'public/js/purchases')
.js('resources/assets/js/views/purchases/payments.js', 'public/js/purchases')
.js('resources/assets/js/views/purchases/vendors.js', 'public/js/purchases')
// Install
.js('resources/assets/js/install.js', 'public/js')
.js('resources/assets/js/views/install/update.js', 'public/js/install')
// Modules
.js('resources/assets/js/views/modules/item.js', 'public/js/modules')
.js('resources/assets/js/views/modules/apps.js', 'public/js/modules')
// Portal
.js('resources/assets/js/views/portal/dashboard.js', 'public/js/portal')
.js('resources/assets/js/views/portal/invoices.js', 'public/js/portal')
.js('resources/assets/js/views/portal/payments.js', 'public/js/portal')
.js('resources/assets/js/views/portal/profile.js', 'public/js/portal')
// Settings
.js('resources/assets/js/views/settings/categories.js', 'public/js/settings')
.js('resources/assets/js/views/settings/currencies.js', 'public/js/settings')
.js('resources/assets/js/views/settings/modules.js', 'public/js/settings')
.js('resources/assets/js/views/settings/settings.js', 'public/js/settings')
.js('resources/assets/js/views/settings/taxes.js', 'public/js/settings')
// Wizard
.js('resources/assets/js/views/wizard/company.js', 'public/js/wizard')
.js('resources/assets/js/views/wizard/currencies.js', 'public/js/wizard')
.js('resources/assets/js/views/wizard/taxes.js', 'public/js/wizard')
.js('resources/assets/js/views/wizard/finish.js', 'public/js/wizard')
.sass('resources/assets/sass/argon.scss', 'public/css');