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"
|
2020-03-24 23:13:20 +01:00
|
|
|
);
|
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();
|