24 lines
592 B
JavaScript
24 lines
592 B
JavaScript
import { defineConfig } from 'vite'
|
|
import laravel from 'laravel-vite-plugin'
|
|
import react from '@vitejs/plugin-react'
|
|
import svgr from 'vite-plugin-svgr'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
laravel({
|
|
input: [
|
|
"resources/css/app.css",
|
|
"resources/css/admin.css",
|
|
"resources/js/app.js",
|
|
"resources/js/pos/app.jsx",
|
|
"resources/js/admin/app.jsx",
|
|
],
|
|
refresh: true,
|
|
}),
|
|
react(),
|
|
svgr({
|
|
svgrOptions: { icon: true, exportType: "named", namedExport: "ReactComponent" },
|
|
}),
|
|
],
|
|
})
|