forked from invoiceninja/invoiceninja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts
71 lines (70 loc) · 3.52 KB
/
vite.config.ts
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
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import { viteStaticCopy } from 'vite-plugin-static-copy';
export default defineConfig({
plugins: [
laravel([
'resources/js/app.js',
'resources/sass/app.scss',
'resources/js/clients/payment_methods/authorize-authorize-card.js',
'resources/js/clients/payments/authorize-credit-card-payment.js',
'resources/js/clients/payments/forte-credit-card-payment.js',
'resources/js/clients/payments/forte-ach-payment.js',
'resources/js/clients/payments/stripe-ach.js',
'resources/js/clients/payments/stripe-klarna.js',
'resources/js/clients/payments/stripe-bacs.js',
'resources/js/clients/invoices/action-selectors.js',
'resources/js/clients/purchase_orders/action-selectors.js',
'resources/js/clients/purchase_orders/accept.js',
'resources/js/clients/invoices/payment.js',
'resources/js/clients/payments/stripe-sofort.js',
'resources/js/clients/payments/stripe-alipay.js',
'resources/js/clients/payments/checkout-credit-card.js',
'resources/js/clients/quotes/action-selectors.js',
'resources/js/clients/quotes/approve.js',
'resources/js/clients/payments/stripe-credit-card.js',
'resources/js/setup/setup.js',
'resources/js/clients/shared/pdf.js',
'resources/js/clients/shared/multiple-downloads.js',
'resources/js/clients/linkify-urls.js',
'resources/js/clients/payments/braintree-credit-card.js',
'resources/js/clients/payments/braintree-paypal.js',
'resources/js/clients/payments/wepay-credit-card.js',
'resources/js/clients/payment_methods/wepay-bank-account.js',
'resources/js/clients/payments/paytrace-credit-card.js',
'resources/js/clients/payments/mollie-credit-card.js',
'resources/js/clients/payments/eway-credit-card.js',
'resources/js/clients/payment_methods/braintree-ach.js',
'resources/js/clients/payments/square-credit-card.js',
'resources/js/clients/statements/view.js',
'resources/js/clients/payments/razorpay-aio.js',
'resources/js/clients/payments/stripe-sepa.js',
'resources/js/clients/payment_methods/authorize-checkout-card.js',
'resources/js/clients/payments/stripe-giropay.js',
'resources/js/clients/payments/stripe-acss.js',
'resources/js/clients/payments/stripe-bancontact.js',
'resources/js/clients/payments/stripe-becs.js',
'resources/js/clients/payments/stripe-eps.js',
'resources/js/clients/payments/stripe-ideal.js',
'resources/js/clients/payments/stripe-przelewy24.js',
'resources/js/clients/payments/stripe-browserpay.js',
'resources/js/clients/payments/stripe-fpx.js',
]),
viteStaticCopy({
targets: [
{
src: 'node_modules/card-js/card-js.min.js',
dest: 'public/js/card-js.min.js',
},
{
src: 'node_modules/card-js/card-js.min.css',
dest: 'public/css/card-js.min.css',
},
{
src: 'node_modules/clipboard/dist/clipboard.min.js',
dest: 'public/vendor/clipboard.min.js',
},
],
}),
],
});