2023-01-21 11:57:37 +00:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import laravel from 'laravel-vite-plugin'
|
|
|
|
import vue from '@vitejs/plugin-vue2'
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
esbuild: {
|
2023-05-19 14:06:48 +00:00
|
|
|
minify: true,
|
|
|
|
minifySyntax: true
|
2023-01-21 11:57:37 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
laravel({
|
|
|
|
input: [
|
|
|
|
'resources/js/app.js'
|
2023-08-30 07:58:29 +00:00
|
|
|
],
|
|
|
|
valetTls: 'opnform.test'
|
2023-01-21 11:57:37 +00:00
|
|
|
}),
|
|
|
|
vue({
|
|
|
|
template: {
|
|
|
|
transformAssetUrls: {
|
|
|
|
base: null,
|
|
|
|
includeAbsolute: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
],
|
|
|
|
optimizeDeps: {
|
|
|
|
exclude: [
|
|
|
|
'vt-notifications', 'vue-tailwind', 'vue-tailwind/dist/vue-tailwind.css'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'~': '/resources/js',
|
|
|
|
'@': '/resources'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|