0

I have here my configuration below. Is there a way to select the directory, instead of specifying each css file? I want to modularize loading of css.

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/css/login.css',
                'resources/css/register.css',
                'resources/css/about.css',
                'resources/css/profile.css',
                ..
            ],
            refresh: true,
        }),
    ],
    ...
});

I already tried the following, but none worked for me.

'resources/css'
'resources/css/*.css'
'resources/css/**.css'
schutte
  • 1,949
  • 7
  • 25
  • 45

0 Answers0