mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 20:19:26 +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 { defineConfig } from 'vite';
|
||||||
import tailwindcss from '@tailwindcss/vite';
|
import tailwindcss from '@tailwindcss/vite';
|
||||||
import laravel, { refreshPaths } from 'laravel-vite-plugin';
|
import laravel, { refreshPaths } from 'laravel-vite-plugin';
|
||||||
import { globSync } from 'glob';
|
import { globSync } from "glob";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
@ -9,6 +9,9 @@ export default defineConfig({
|
|||||||
input: [
|
input: [
|
||||||
...globSync('resources/css/**/*.css'),
|
...globSync('resources/css/**/*.css'),
|
||||||
...globSync('resources/js/**/*.js'),
|
...globSync('resources/js/**/*.js'),
|
||||||
|
|
||||||
|
...globSync('plugins/*/resources/css/**/*.css'),
|
||||||
|
...globSync('plugins/*/resources/js/**/*.js'),
|
||||||
],
|
],
|
||||||
refresh: true,
|
refresh: true,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user