mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
b8b5245253
* Setup page real-time checks: - New setup.js inside of webpack.mix.js - SetupController methods rename from snake case to camel case - Added Axios module inside of app.js * Disable Laravel Mix notifications * Fix naming for request
47 lines
1.3 KiB
JavaScript
Vendored
47 lines
1.3 KiB
JavaScript
Vendored
const mix = require("laravel-mix");
|
|
const tailwindcss = require("tailwindcss");
|
|
|
|
require("laravel-mix-purgecss");
|
|
|
|
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"
|
|
);
|
|
|
|
mix.sass("resources/sass/app.scss", "public/css")
|
|
.options({
|
|
processCssUrls: false,
|
|
postCss: [tailwindcss("./tailwind.config.js")]
|
|
})
|
|
.purgeCss({
|
|
enabled: mix.inProduction(),
|
|
extensions: ["html", "php"]
|
|
});
|
|
|
|
mix.version();
|
|
mix.disableNotifications(); |