We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10f8ee commit 22a7b20Copy full SHA for 22a7b20
1 file changed
vite.config.js
@@ -14,6 +14,7 @@ export default defineConfig(({ mode, command }) => {
14
const isRunningBuild = command === 'build';
15
const isProdBuild = isRunningBuild && mode === 'production';
16
const isProdDevBuild = isRunningBuild && mode === 'development';
17
+ const isTesting = !!process.env.VITEST;
18
19
return {
20
base: './',
@@ -25,7 +26,7 @@ export default defineConfig(({ mode, command }) => {
25
26
plugins: [
27
tsconfigPaths(),
28
tailwindcss(),
- laravel({
29
+ !isTesting && laravel({
30
valetTls: env.VALET_TLS,
31
input: ['resources/css/app.css', 'resources/js/index.js'],
32
refresh: true,
0 commit comments