StocksNew/Modules/Ingredient/vite.config.js
2024-09-19 18:33:08 +05:45

26 lines
708 B
JavaScript

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