[9.x] Vite (#5904)

* Use Vite

* Gitignore Vite build directory

* Use CSS entry points

* Update plugin

* Linting

* Update plugin
This commit is contained in:
Jess Archer
2022-06-23 04:07:47 +10:00
committed by GitHub
parent 0c3d1fabe5
commit 86b4b1b656
7 changed files with 22 additions and 31 deletions

11
vite.config.js Normal file
View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel([
'resources/css/app.css',
'resources/js/app.js',
]),
],
});