You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
687 B
JavaScript

import { defineConfig } from 'vite'
import laravel from 'laravel-vite-plugin'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.jsx',
'resources/js/admin.jsx',
],
refresh: true,
}),
react(),
],
1 year ago
// build: {
// // chunkSizeWarningLimit: 1024 * 2048, //2MB
// rollupOptions: {
// output: {
// manualChunks: {
// chunk1: ['tinymce', /tinymce/],
// },
// },
// },
// },
})