My SMM panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vite.config.js 549 B

1234567891011121314151617181920212223242526
  1. import { fileURLToPath, URL } from 'node:url'
  2. import { defineConfig } from 'vite'
  3. import vue from '@vitejs/plugin-vue'
  4. import laravel from 'laravel-vite-plugin';
  5. // https://vitejs.dev/config/
  6. export default defineConfig({
  7. plugins: [
  8. vue(),
  9. laravel({
  10. buildDirectory: null,
  11. input: [
  12. 'resources/js/main.js',
  13. 'resources/scss/main.scss',
  14. ],
  15. }),
  16. ],
  17. resolve: {
  18. alias: {
  19. '@': fileURLToPath(new URL('./resources/js', import.meta.url))
  20. }
  21. },
  22. // publicDir: "./public",
  23. })