Skip to content

Memory Leak when trying to build or run dev with Vite #19444

@KingHorse2015

Description

@KingHorse2015

What version of Tailwind CSS are you using?

4.1.18

What build tool (or framework if it abstracts the build tool) are you using?

Laravel 12.42 - Vite 7.3

What version of Node.js are you using?

V20 LTS (Also tried V24 LTS, V25)

What browser are you using?

Chrome / Edge

What operating system are you using?

Windows 11 25H2

Vite Config

import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import tailwindcss from '@tailwindcss/vite';

export default defineConfig({
    plugins: [
        laravel({
            input: ['resources/css/app.css', 'resources/js/app.js'],
            refresh: [
                'resources/views/**',
                'routes/**',
                'app/**',
            ],
        }),
        tailwindcss(),
    ],
    server: {
        watch: {
            ignored: [
                '**/database/**',
                '**/storage/**',
                '**/vendor/**',
            ],
        },
    },
    logLevel: 'info',
});

App.css

@import "tailwindcss";

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions