StocksNew/Modules/SalesEntry/vite.config.js
Sampanna Rimal afb2c202d6 changes
2024-09-11 12:32:15 +05:45

26 lines
708 B
JavaScript

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