New-OMIS/Modules/PMS/vite.config.js

26 lines
680 B
JavaScript
Raw Permalink Normal View History

2024-04-16 05:53:27 +00:00
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
build: {
outDir: '../../public/build-pms',
emptyOutDir: true,
manifest: true,
},
plugins: [
laravel({
publicDirectory: '../../public',
buildDirectory: 'build-pms',
input: [
__dirname + '/resources/assets/sass/app.scss',
__dirname + '/resources/assets/js/app.js'
],
refresh: true,
}),
],
});
//export const paths = [
// 'Modules/PMS/resources/assets/sass/app.scss',
// 'Modules/PMS/resources/assets/js/app.js',
//];