Update Fix
This commit is contained in:
23
vite.config.js
Normal file
23
vite.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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" },
|
||||
}),
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user