30 lines
1.0 KiB
JavaScript
30 lines
1.0 KiB
JavaScript
import { defineConfig } from 'vite'
|
|
import laravel from 'laravel-vite-plugin'
|
|
import tailwindcss from 'tailwindcss'
|
|
import path from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
laravel({
|
|
input: [
|
|
path.resolve(__dirname, './resources/css/app.css'),
|
|
path.resolve(__dirname, './resources/js/app.js'),
|
|
path.resolve(__dirname, './resources/themes/atom/css/app.css'),
|
|
path.resolve(__dirname, './resources/themes/atom/js/app.js'),
|
|
path.resolve(__dirname, './resources/themes/atom/js/src/flash.js'),
|
|
path.resolve(__dirname, './resources/themes/base/css/app.css'),
|
|
path.resolve(__dirname, './resources/themes/base/js/app.js'),
|
|
],
|
|
refresh: true,
|
|
}),
|
|
],
|
|
css: {
|
|
postcss: {
|
|
plugins: [
|
|
tailwindcss({
|
|
config: path.resolve(__dirname, "tailwind.config.js"),
|
|
}),
|
|
],
|
|
},
|
|
},
|
|
}); |