Closed (fixed)
Project:
Artisan
Version:
2.0.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Feb 2026 at 12:25 UTC
Updated:
17 Feb 2026 at 15:34 UTC
Jump to comment: Most recent
Currently, adding a new stylesheet or script requires manually editing vite.config.js to include it as an input.
It would be great if files under /src could be autodetected.
Modify vite configuration to automatically detect files under /src
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
frouco commentedVite now automatically detects the .css files to be processed and discards the partial files (_name.css). If the file is placed in a folder, the folder structure will be duplicated in the output folder (dist).
Comment #5
alejandro cabarcos commentedTested on a clean D11 installation and working.
Thanks fran
Merging into 2.x
Comment #7
alejandro cabarcos commented