StocksNew/Modules/Setting/vite.config.js

26 lines
696 B
JavaScript
Raw Normal View History

2024-09-04 12:22:04 +05:45
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
build: {
2024-09-11 12:32:15 +05:45
outDir: '../../public/build-setting',
2024-09-04 12:22:04 +05:45
emptyOutDir: true,
manifest: true,
},
plugins: [
laravel({
publicDirectory: '../../public',
2024-09-11 12:32:15 +05:45
buildDirectory: 'build-setting',
2024-09-04 12:22:04 +05:45
input: [
__dirname + '/resources/assets/sass/app.scss',
__dirname + '/resources/assets/js/app.js'
],
refresh: true,
}),
],
});
//export const paths = [
2024-09-11 12:32:15 +05:45
// 'Modules/Setting/resources/assets/sass/app.scss',
// 'Modules/Setting/resources/assets/js/app.js',
2024-09-04 12:22:04 +05:45
//];