2020-03-13 22:17:08 +01:00
|
|
|
const mix = require("laravel-mix");
|
|
|
|
const tailwindcss = require("tailwindcss");
|
2018-10-04 19:10:43 +02:00
|
|
|
|
2020-03-13 22:17:08 +01:00
|
|
|
mix.js("resources/js/app.js", "public/js")
|
2020-06-09 07:34:37 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/payment_methods/authorize-authorize-card.js",
|
|
|
|
"public/js/clients/payment_methods/authorize-authorize-card.js"
|
|
|
|
)
|
2020-06-16 14:41:56 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/authorize-credit-card-payment.js",
|
|
|
|
"public/js/clients/payments/authorize-credit-card-payment.js"
|
|
|
|
)
|
2020-06-09 14:40:55 +02:00
|
|
|
.js(
|
2020-10-20 17:54:32 +02:00
|
|
|
"resources/js/clients/payments/stripe-ach.js",
|
|
|
|
"public/js/clients/payments/stripe-ach.js"
|
2020-06-09 14:40:55 +02:00
|
|
|
)
|
2020-03-24 23:13:20 +01:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/invoices/action-selectors.js",
|
|
|
|
"public/js/clients/invoices/action-selectors.js"
|
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/invoices/payment.js",
|
|
|
|
"public/js/clients/invoices/payment.js"
|
|
|
|
)
|
2020-06-09 13:17:05 +02:00
|
|
|
.js(
|
2020-10-20 17:12:53 +02:00
|
|
|
"resources/js/clients/payments/stripe-sofort.js",
|
|
|
|
"public/js/clients/payments/stripe-sofort.js"
|
2020-06-09 13:17:05 +02:00
|
|
|
)
|
2020-06-09 16:56:08 +02:00
|
|
|
.js(
|
2020-10-20 17:15:55 +02:00
|
|
|
"resources/js/clients/payments/stripe-alipay.js",
|
|
|
|
"public/js/clients/payments/stripe-alipay.js"
|
2020-06-09 16:56:08 +02:00
|
|
|
)
|
2020-06-10 17:38:10 +02:00
|
|
|
.js(
|
2021-01-20 16:19:01 +01:00
|
|
|
"resources/js/clients/payments/checkout-credit-card.js",
|
|
|
|
"public/js/clients/payments/checkout-credit-card.js"
|
2020-06-10 17:38:10 +02:00
|
|
|
)
|
2020-03-24 23:13:20 +01:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/quotes/action-selectors.js",
|
|
|
|
"public/js/clients/quotes/action-selectors.js"
|
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/quotes/approve.js",
|
|
|
|
"public/js/clients/quotes/approve.js"
|
2020-03-25 14:08:37 +01:00
|
|
|
)
|
|
|
|
.js(
|
2020-10-20 16:08:21 +02:00
|
|
|
"resources/js/clients/payments/stripe-credit-card.js",
|
|
|
|
"public/js/clients/payments/stripe-credit-card.js"
|
2020-03-26 22:43:44 +01:00
|
|
|
)
|
|
|
|
.js(
|
2021-01-20 16:19:01 +01:00
|
|
|
"resources/js/setup/setup.js",
|
2020-03-26 22:43:44 +01:00
|
|
|
"public/js/setup/setup.js"
|
2020-04-03 22:12:12 +02:00
|
|
|
)
|
2020-06-17 02:03:05 +02:00
|
|
|
.js(
|
|
|
|
"node_modules/card-js/card-js.min.js",
|
|
|
|
"public/js/clients/payments/card-js.min.js"
|
|
|
|
)
|
2020-04-03 22:12:12 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/shared/pdf.js",
|
|
|
|
"public/js/clients/shared/pdf.js"
|
2020-08-20 03:10:04 +02:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/shared/multiple-downloads.js",
|
|
|
|
"public/js/clients/shared/multiple-downloads.js"
|
2021-03-02 13:42:25 +01:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/linkify-urls.js",
|
|
|
|
"public/js/clients/linkify-urls.js"
|
2021-04-29 16:51:28 +02:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/braintree-credit-card.js",
|
|
|
|
"public/js/clients/payments/braintree-credit-card.js"
|
2021-06-21 14:04:56 +02:00
|
|
|
)
|
|
|
|
.js(
|
2021-05-04 17:22:52 +02:00
|
|
|
"resources/js/clients/payments/braintree-paypal.js",
|
|
|
|
"public/js/clients/payments/braintree-paypal.js"
|
2021-06-21 14:04:56 +02:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/wepay-credit-card.js",
|
|
|
|
"public/js/clients/payments/wepay-credit-card.js"
|
2021-06-21 14:21:55 +02:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/payment_methods/wepay-bank-account.js",
|
|
|
|
"public/js/clients/payment_methods/wepay-bank-account.js"
|
2021-07-27 23:59:44 +02:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/paytrace-credit-card.js",
|
|
|
|
"public/js/clients/payments/paytrace-credit-card.js"
|
2021-08-11 08:43:20 +02:00
|
|
|
)
|
2021-08-03 14:27:08 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/mollie-credit-card.js",
|
|
|
|
"public/js/clients/payments/mollie-credit-card.js"
|
2021-08-18 13:21:05 +02:00
|
|
|
)
|
2021-08-15 16:16:23 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/eway-credit-card.js",
|
|
|
|
"public/js/clients/payments/eway-credit-card.js"
|
2021-08-27 17:32:20 +02:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/payment_methods/braintree-ach.js",
|
|
|
|
"public/js/clients/payment_methods/braintree-ach.js"
|
2021-09-19 13:10:27 +02:00
|
|
|
)
|
2021-08-18 17:52:32 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/square-credit-card.js",
|
|
|
|
"public/js/clients/payments/square-credit-card.js"
|
2021-09-21 14:08:58 +02:00
|
|
|
)
|
|
|
|
.js(
|
|
|
|
"resources/js/clients/statements/view.js",
|
|
|
|
"public/js/clients/statements/view.js",
|
|
|
|
)
|
2021-10-07 18:04:14 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/razorpay-aio.js",
|
|
|
|
"public/js/clients/payments/razorpay-aio.js"
|
|
|
|
)
|
2021-10-09 01:35:45 +02:00
|
|
|
.js(
|
|
|
|
"resources/js/clients/payments/stripe-sepa.js",
|
|
|
|
"public/js/clients/payments/stripe-sepa.js"
|
|
|
|
)
|
2020-03-23 18:10:42 +01:00
|
|
|
|
2020-06-17 02:03:05 +02:00
|
|
|
mix.copyDirectory('node_modules/card-js/card-js.min.css', 'public/css/card-js.min.css');
|
|
|
|
|
2020-03-23 18:10:42 +01:00
|
|
|
mix.sass("resources/sass/app.scss", "public/css")
|
2020-03-13 22:17:08 +01:00
|
|
|
.options({
|
|
|
|
processCssUrls: false,
|
|
|
|
postCss: [tailwindcss("./tailwind.config.js")]
|
|
|
|
});
|
2018-10-16 13:42:43 +02:00
|
|
|
mix.version();
|
2021-01-20 16:19:01 +01:00
|
|
|
mix.disableNotifications();
|