Initial commit
This commit is contained in:
commit
43a4c7dd29
71 changed files with 14226 additions and 0 deletions
30
vite.config.js
Normal file
30
vite.config.js
Normal file
|
@ -0,0 +1,30 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import laravel from 'laravel-vite-plugin';
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
||||
import path from "node:path";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
svelte(),
|
||||
laravel({
|
||||
input: ['resources/js/app.ts'],
|
||||
ssr: 'resources/js/ssr.ts',
|
||||
refresh: true
|
||||
})
|
||||
],
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: 'modern-compiler'
|
||||
}
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: [
|
||||
{
|
||||
find: 'ziggy-js',
|
||||
replacement: path.resolve(__dirname, 'vendor/tightenco/ziggy/'),
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue