mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-15 21:48:08 +03:00
24 lines
625 B
JavaScript
24 lines
625 B
JavaScript
import { defineConfig } from 'vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import laravel from 'laravel-vite-plugin';
|
|
import { globSync } from 'glob';
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
chunkSizeWarningLimit: 1000,
|
|
},
|
|
plugins: [
|
|
laravel({
|
|
input: [
|
|
...globSync('resources/css/**/*.css'),
|
|
...globSync('resources/js/**/*.js'),
|
|
|
|
...globSync('plugins/*/resources/css/**/*.css'),
|
|
...globSync('plugins/*/resources/js/**/*.js'),
|
|
],
|
|
refresh: true,
|
|
}),
|
|
tailwindcss(),
|
|
],
|
|
});
|