1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/webpack.mix.js
Benjamin Beganović 2704bf2f82
Client portal improvements & bug fixes (#3678)
* fix turbolink 404

* fix checkbox when adding card using stripe

* Fix hashed_ids problem when using PayPal

* php-cs-fixer

* Bump tailwind & purgecss

* fix auth scope

* scope to auth contact company
2020-05-09 08:20:37 +10:00

45 lines
1.3 KiB
JavaScript
Vendored

const mix = require("laravel-mix");
const tailwindcss = require("tailwindcss");
mix.js("resources/js/app.js", "public/js")
.js(
"resources/js/clients/payment_methods/authorize-stripe-card.js",
"public/js/clients/payment_methods/authorize-stripe-card.js"
)
.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"
)
.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"
)
.js(
"resources/js/clients/payments/process.js",
"public/js/clients/payments/process.js"
)
.js(
"resources/js/setup/setup.js",
"public/js/setup/setup.js"
)
.js(
"resources/js/clients/shared/pdf.js",
"public/js/clients/shared/pdf.js"
);
mix.sass("resources/sass/app.scss", "public/css")
.options({
processCssUrls: false,
postCss: [tailwindcss("./tailwind.config.js")]
});
mix.version();
mix.disableNotifications();