mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-08 10:39:27 +01:00
make sure css & js from plugins are also built
This commit is contained in:
parent
ef2bae409d
commit
5427e08f3c
@ -1,7 +1,7 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import laravel, { refreshPaths } from 'laravel-vite-plugin';
|
||||
import { globSync } from 'glob';
|
||||
import { globSync } from "glob";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
@ -9,6 +9,9 @@ export default defineConfig({
|
||||
input: [
|
||||
...globSync('resources/css/**/*.css'),
|
||||
...globSync('resources/js/**/*.js'),
|
||||
|
||||
...globSync('plugins/*/resources/css/**/*.css'),
|
||||
...globSync('plugins/*/resources/js/**/*.js'),
|
||||
],
|
||||
refresh: true,
|
||||
}),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user