|
- import { fileURLToPath, URL } from 'node:url'
-
- import { defineConfig } from 'vite'
- import vue from '@vitejs/plugin-vue'
- import laravel from 'laravel-vite-plugin';
-
- // https://vitejs.dev/config/
- export default defineConfig({
- plugins: [
- vue(),
- laravel({
- buildDirectory: null,
- input: [
- 'resources/js/main.js',
- 'resources/scss/main.scss',
- ],
- }),
- ],
- resolve: {
- alias: {
- '@': fileURLToPath(new URL('./resources/js', import.meta.url))
- }
- },
- // publicDir: "./public",
-
- })
|