Skip to content

Instantly share code, notes, and snippets.

@Shipu
Created August 20, 2022 19:50
Show Gist options
  • Save Shipu/2e28ddc407776c45c4041c64e27202e5 to your computer and use it in GitHub Desktop.
Save Shipu/2e28ddc407776c45c4041c64e27202e5 to your computer and use it in GitHub Desktop.
import { defineConfig } from 'vite'
import laravel, { refreshPaths } from 'laravel-vite-plugin'
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
],
refresh: [
...refreshPaths,
'app/Http/Livewire/**',
],
}),
],
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment