From 7584d2d7a7110aef0331ebfa178b2295842c59fa Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:19:14 -0700 Subject: refactor: project maintenance - work in progress --- vite.config.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vite.config.ts (limited to 'vite.config.ts') diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..fb09564 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,19 @@ +import { defineConfig } from 'vite' +import adonisjs from '@adonisjs/vite/client' + +export default defineConfig({ + plugins: [ + adonisjs({ + /** + * Entrypoints of your application. Each entrypoint will + * result in a separate bundle. + */ + entrypoints: ['resources/js/app.js'], + + /** + * Paths to watch and reload the browser on file change + */ + reload: ['resources/views/**/*.edge'], + }), + ], +}) -- cgit v1.2.3-70-g09d2