Skip to content

Commit

Permalink
remove no longer used vite config for target
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchQuak committed Sep 24, 2024
1 parent 35148b9 commit d7b30c8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import { defineConfig, loadEnv } from 'vite';
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig(({mode}) =>{
const env = loadEnv(mode, process.cwd(), '');
export default defineConfig(() => {
return {
plugins: [
laravel({
input: [
'resources/js/app.js',
env.VITE_CSS_TARGET?
env.VITE_CSS_TARGET:
'resources/css/app.css',
'resources/css/app.css'
],
refresh: true,
}),
Expand Down

0 comments on commit d7b30c8

Please sign in to comment.