From daef593b4778010de174e77429be5097ab15305a Mon Sep 17 00:00:00 2001 From: LAMBEY Baptiste <baptiste.lambey8@etu.univ-lorraine.fr> Date: Sat, 4 Mar 2023 16:38:10 +0000 Subject: [PATCH] Upload New File --- vite.config.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vite.config.js diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..ea2de53 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,21 @@ +import { defineConfig } from 'vite'; +import laravel from 'laravel-vite-plugin'; + +export default defineConfig({ + plugins: [ + laravel({ + input: [ + 'resources/sass/app.scss', + 'resources/js/app.js', + ], + refresh: true, + }), + ], + server: { + host: '0.0.0.0', + hmr: { + host: 'localhost' + }, + port: 30001, + }, +}); -- GitLab