Skip to content

Commit

Permalink
feat: 🎨 Indent postcss.config.js, resources/js/app.js, and vite.confi…
Browse files Browse the repository at this point in the history
…g.js
  • Loading branch information
cbouvat committed Nov 13, 2023
1 parent 6129ad5 commit 5d42199
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 26 deletions.
10 changes: 5 additions & 5 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}
2 changes: 0 additions & 2 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import './bootstrap'

import Alpine from 'alpinejs'
import focus from '@alpinejs/focus'
window.Alpine = Alpine

Alpine.plugin(focus)

Alpine.start()
38 changes: 19 additions & 19 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import { defineConfig } from 'vite';
import laravel, { refreshPaths } from 'laravel-vite-plugin';
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/Livewire/**',
],
}),
],
server: {
hmr: {
host: 'localhost'
}
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js'
],
refresh: [
...refreshPaths,
'app/Livewire/**'
]
})
],
server: {
hmr: {
host: 'localhost'
}
});
}
})

0 comments on commit 5d42199

Please sign in to comment.