22 lines
439 B
JavaScript
22 lines
439 B
JavaScript
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',
|
|
port: 3000,
|
|
hmr: {
|
|
host: '192.168.2.179',
|
|
},
|
|
},
|
|
});
|