vuejs/devtools

[Feature]: Allow appendTo as an array or glob pattern

Open

#746 opened on Dec 18, 2024

View on GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (4,095 forks)batch import
enhancementgood first issuepr welcome

Repository metrics

Stars
 (24,286 stars)
PR merge metrics
 (Avg merge 9d 1h) (2 merged PRs in 30d)

Description

Hi, I'm currently working with a Laravel Inertia setup and I'm using a multi build setup. Meaning that I have two entry files for different domains (public / backend).

Currently it's impossible to register both with the appendTo option in the Vite Plugin, but I think it would be a good addition. Optionally we could also maybe use a glob pattern instead, but both would be an improvement imo.

Is this possible and wanted? If so, I can also submit a PR. Thanks!

Contributor guide