StocksNew/Modules/Settings/vite.config.js
Sampanna Rimal 82fab174dc changes
2024-09-04 12:22:04 +05:45

26 lines
700 B
JavaScript

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