Studio: make grid checkbox rectangular and commit table changes
This commit is contained in:
@@ -15,14 +15,46 @@ export default defineConfig({
|
||||
'resources/js/entry-masonry-gallery.jsx',
|
||||
'resources/js/entry-pill-carousel.jsx',
|
||||
'resources/js/upload.jsx',
|
||||
'resources/js/studio.jsx',
|
||||
'resources/js/Pages/ArtworkPage.jsx',
|
||||
'resources/js/Pages/Home/HomePage.jsx',
|
||||
'resources/js/Pages/Community/LatestCommentsPage.jsx',
|
||||
'resources/js/Pages/Messages/Index.jsx',
|
||||
],
|
||||
refresh: true,
|
||||
// Only watch Blade templates & routes for full-reload triggers
|
||||
// (instead of `true` which watches the entire project tree)
|
||||
refresh: [
|
||||
'resources/views/**',
|
||||
'routes/**',
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
||||
server: {
|
||||
watch: {
|
||||
// Exclude heavy dirs from the filesystem watcher to cut memory
|
||||
ignored: [
|
||||
'**/node_modules/**',
|
||||
'**/vendor/**',
|
||||
'**/storage/**',
|
||||
'**/public/build/**',
|
||||
'**/.git/**',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
// Pre-bundle heavy deps so Vite doesn't re-analyse them on every HMR update
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'react',
|
||||
'react-dom',
|
||||
'react/jsx-runtime',
|
||||
'react/jsx-dev-runtime',
|
||||
'@inertiajs/react',
|
||||
'framer-motion',
|
||||
],
|
||||
},
|
||||
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
|
||||
Reference in New Issue
Block a user