Skip to content

Commit

Permalink
Update Vite to latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
Colbydude committed Jan 22, 2025
1 parent 4dc2d49 commit d644aac
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 169 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"laravel-vite-plugin": "^0.2.4",
"postcss": "^8.4.31",
"tailwindcss": "^3.0.23",
"vite": "^4.5.6"
"vite": "^6.0.11"
}
}
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import vue from '@vitejs/plugin-vue';

export default defineConfig({
plugins: [
laravel(['resources/css/app.css', 'resources/js/app.js', 'resources/js/code.js']),
laravel({
input: ['resources/css/app.css', 'resources/js/app.js', 'resources/js/code.js'],
refresh: true,
}),
vue({
template: {
transformAssetUrls: {
Expand Down
Loading

0 comments on commit d644aac

Please sign in to comment.